...
This commit is contained in:
@@ -260,7 +260,8 @@ public:
|
||||
|
||||
auto operator==(const MccAngle& other) const
|
||||
{
|
||||
return _angleInRads == other._angleInRads;
|
||||
return utils::isEqual(_angleInRads, other._angleInRads);
|
||||
// return _angleInRads == other._angleInRads;
|
||||
}
|
||||
|
||||
auto operator<=>(double other) const
|
||||
@@ -270,7 +271,8 @@ public:
|
||||
|
||||
auto operator==(double other) const
|
||||
{
|
||||
return _angleInRads == other;
|
||||
return utils::isEqual(_angleInRads, other);
|
||||
// return _angleInRads == other;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user