diff --git a/Source/OpenTK/Math/Vector3d.cs b/Source/OpenTK/Math/Vector3d.cs index f61c3ec8..5af1aeb5 100644 --- a/Source/OpenTK/Math/Vector3d.cs +++ b/Source/OpenTK/Math/Vector3d.cs @@ -1364,10 +1364,10 @@ namespace OpenTK /// True if the instances are equal; false otherwise. public override bool Equals(object obj) { - if (!(obj is Vector3)) + if (!(obj is Vector3d)) return false; - return this.Equals((Vector3)obj); + return this.Equals((Vector3d)obj); } #endregion