Correct != of Vector2d
This commit is contained in:
parent
38fb85be02
commit
cfdb2cee4d
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ namespace GeometriCS.structs
|
||||||
/// <returns><c>true</c> if the vectors are different. Otherwise <c>false</c></returns>
|
/// <returns><c>true</c> if the vectors are different. Otherwise <c>false</c></returns>
|
||||||
public static bool operator !=(Vector2d a, Vector2d b)
|
public static bool operator !=(Vector2d a, Vector2d b)
|
||||||
{
|
{
|
||||||
return !Utils.DoubleEquals(a.X, b.X) && Utils.DoubleEquals(a.Y, b.Y);
|
return !(Utils.DoubleEquals(a.X, b.X) && Utils.DoubleEquals(a.Y, b.Y));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in a new issue