Skip to content

Commit

Permalink
Fixed the != operator for vectors. (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
fod669 authored Jun 16, 2024
1 parent 4c126a1 commit 7d9d336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/Mathter/Vector/VectorCompare.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ bool operator==(const Vector<T, Dim, Packed>& lhs, const Vector<T, Dim, Packed>&
/// <remarks> &lt;The usual warning about floating point numbers&gt; </remarks>
template <class T, int Dim, bool Packed>
bool operator!=(const Vector<T, Dim, Packed>& lhs, const Vector<T, Dim, Packed>& rhs) {
return !operator==(rhs);
return !operator==(lhs, rhs);
}

} // namespace mathter

0 comments on commit 7d9d336

Please sign in to comment.