Skip to content

Commit 99ea5fb

Browse files
committed
Length2d: Fix Equals()
1 parent d7efafd commit 99ea5fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnitsNet/Length2d.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public Length DistanceTo(Length2d other)
205205

206206
public bool Equals(Length2d other)
207207
{
208-
return MetersComparer.Equals(other);
208+
return MetersComparer.Equals(this, other);
209209
}
210210

211211
public override bool Equals(object obj)

0 commit comments

Comments
 (0)