Skip to content

Commit

Permalink
Reviewer feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <louise@openrobotics.org>
  • Loading branch information
chapulina committed Sep 15, 2021
1 parent 8fd565e commit 564de1c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion include/ignition/math/Vector4.hh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace ignition
/// \brief math::Vector4(1, 1, 1, 1)
public: static const Vector4<T> One;

/// \brief math::Vector4(NaN, NaN, NaN)
/// \brief math::Vector4(NaN, NaN, NaN, NaN)
public: static const Vector4 NaN;

/// \brief Constructor
Expand Down
4 changes: 2 additions & 2 deletions src/ruby/Vector2_TEST.rb
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def test_nan

nanVec.Correct()
assert(Ignition::Math::Vector2d.Zero == nanVec,
"Corrected vector equals zero")
"Corrected vector should equal zero")

nanVecF = Ignition::Math::Vector2f.NaN
assert(!nanVecF.IsFinite(),
Expand All @@ -277,7 +277,7 @@ def test_nan

nanVecF.Correct()
assert(Ignition::Math::Vector2f.Zero == nanVecF,
"Corrected vector equals zero")
"Corrected vector should equal zero")
end
end

Expand Down
4 changes: 2 additions & 2 deletions src/ruby/Vector3_TEST.rb
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def test_nan

nanVec.Correct()
assert(Ignition::Math::Vector3d.Zero == nanVec,
"Corrected vector equals zero")
"Corrected vector should equal zero")

nanVecF = Ignition::Math::Vector3f.NaN
assert(!nanVecF.IsFinite(),
Expand All @@ -446,7 +446,7 @@ def test_nan

nanVecF.Correct()
assert(Ignition::Math::Vector3f.Zero == nanVecF,
"Corrected vector equals zero")
"Corrected vector should equal zero")
end
end

Expand Down
4 changes: 2 additions & 2 deletions src/ruby/Vector4_TEST.rb
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def test_nan

nanVec.Correct()
assert(Ignition::Math::Vector4d.Zero == nanVec,
"Corrected vector equals zero")
"Corrected vector should equal zero")

nanVecF = Ignition::Math::Vector4f.NaN
assert(!nanVecF.IsFinite(),
Expand All @@ -319,7 +319,7 @@ def test_nan

nanVecF.Correct()
assert(Ignition::Math::Vector4f.Zero == nanVecF,
"Corrected vector equals zero")
"Corrected vector should equal zero")
end
end

Expand Down

0 comments on commit 564de1c

Please sign in to comment.