Skip to content

Commit 35dc2a9

Browse files
committed
[geocom] fixed incorrect abstract precision property
1 parent 1bf2075 commit 35dc2a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/geocompy/geo/gctypes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,11 +1208,11 @@ class GeoComType(ABC):
12081208

12091209
@property
12101210
@abstractmethod
1211-
def precision(self) -> float: ...
1211+
def precision(self) -> int: ...
12121212

12131213
@precision.setter
12141214
@abstractmethod
1215-
def precision(self, value: float) -> None: ...
1215+
def precision(self, value: int) -> None: ...
12161216

12171217
@overload
12181218
@abstractmethod

0 commit comments

Comments
 (0)