Skip to content

Commit a4858eb

Browse files
author
Petr Sramek
committed
fixed buil;d errors
1 parent 3c5b259 commit a4858eb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/PolylineAlgorithm/Coordinate.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
namespace PolylineAlgorithm;
77

8+
using PolylineAlgorithm.Validation;
89
using System;
910
using System.Diagnostics;
1011
using System.Runtime.InteropServices;
@@ -33,8 +34,8 @@ public bool IsDefault
3334
&& Longitude == default;
3435

3536
public bool IsValid
36-
=> CoordinateValidator.Latitude.IsInRange(Latitude)
37-
&& CoordinateValidator.Longitude.IsInRange(Longitude);
37+
=> CoordinateValidator.Default.Latitude.IsInRange(Latitude)
38+
&& CoordinateValidator.Default.Longitude.IsInRange(Longitude);
3839

3940

4041
public override bool Equals(object? obj) {

0 commit comments

Comments
 (0)