Skip to content

Commit

Permalink
Specify template for Vector2 in Vector2_TEST
Browse files Browse the repository at this point in the history
Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
  • Loading branch information
shameekganguly committed Nov 14, 2024
1 parent 648f182 commit 31075ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Vector2_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ TEST(Vector2Test, Vector2)
/////////////////////////////////////////////////
TEST(Vector2Test, TestSum)
{
math::Vector2 vec1(0, 0);
math::Vector2 vec2(1.0, 2.5);
math::Vector2 vec3(-2, -4);
math::Vector2d vec1(0, 0);
math::Vector2d vec2(1.0, 2.5);
math::Vector2d vec3(-2, -4);

int sum1 = vec1.Sum();
float sum2 = vec2.Sum();
Expand Down

0 comments on commit 31075ac

Please sign in to comment.