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>
|
||||
inline bool operator!= (const Vector<T, S>& parA, const Vector<U, S>& parB) {
|
||||
bool retVal = true;
|
||||
for (uint32_t z = 0; z < S; ++z) {
|
||||
retVal &= static_cast<bool>(parA[z] != parB[z]);
|
||||
}
|
||||
return retVal;
|
||||
return not operator==(parA, parB);
|
||||
}
|
||||
|
||||
template <typename T, uint32_t S>
|
||||
|
|
Loading…
Reference in a new issue