Bugfix in operator!=
This commit is contained in:
parent
c4fbdd8e16
commit
5026ce2c53
1 changed files with 1 additions and 5 deletions
|
@ -231,11 +231,7 @@ namespace cloonel {
|
||||||
}
|
}
|
||||||
template <typename T, typename U, uint32_t S>
|
template <typename T, typename U, uint32_t S>
|
||||||
inline bool operator!= (const Vector<T, S>& parA, const Vector<U, S>& parB) {
|
inline bool operator!= (const Vector<T, S>& parA, const Vector<U, S>& parB) {
|
||||||
bool retVal = true;
|
return not operator==(parA, parB);
|
||||||
for (uint32_t z = 0; z < S; ++z) {
|
|
||||||
retVal &= static_cast<bool>(parA[z] != parB[z]);
|
|
||||||
}
|
|
||||||
return retVal;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T, uint32_t S>
|
template <typename T, uint32_t S>
|
||||||
|
|
Loading…
Add table
Reference in a new issue