Skip to content

Commit 433788d

Browse files
authored
[CORE] Fix wrong comparison expression in unused OBBoxClass::operator!= (#1045)
1 parent 2ef7384 commit 433788d

File tree

1 file changed

+1
-1
lines changed
  • Core/Libraries/Source/WWVegas/WWMath

1 file changed

+1
-1
lines changed

Core/Libraries/Source/WWVegas/WWMath/obbox.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ inline bool OBBoxClass::operator== (const OBBoxClass &src)
265265
*=============================================================================================*/
266266
inline bool OBBoxClass::operator!= (const OBBoxClass &src)
267267
{
268-
return (Center != src.Center) || (Extent != src.Extent) && (Basis == src.Basis);
268+
return (Center != src.Center) || (Extent != src.Extent) || (Basis != src.Basis);
269269
}
270270

271271
#endif

0 commit comments

Comments
 (0)