Skip to content

Commit e501c67

Browse files
committed
Fixing error in edgeLengthKm
1 parent d579a1b commit e501c67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/seismicity/smoothing.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ end
6363

6464

6565
# the function and api have changed; the H3.jl library as of 3.2 is not defined correctly
66-
edge_length_check = edgeLengthKm(3)
66+
base = latLngToCell(LatLng(deg2rad(0), deg2rad(0)), 5)
67+
edge_length_check = edgeLengthKm(base)
6768
if edge_length_check isa Number
6869
const get_avg_edge_length_km = edgeLengthKm
6970
else

0 commit comments

Comments
 (0)