Skip to content

Commit b31632b

Browse files
author
knaaptime
committed
convert to number
1 parent 4eba45f commit b31632b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tobler/util/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def circumradius(resolution):
3535
"You can install it with `conda install h3-py` or "
3636
"`pip install h3`"
3737
)
38-
h3ver = h3.__version__
38+
h3ver = int(h3.__version__[0])
3939
if h3ver < 4:
4040
return h3.edge_length(resolution, "m")
4141
return h3.average_edge_length(resolution, "m")

0 commit comments

Comments
 (0)