Skip to content

Commit

Permalink
Specify type on large integer literal
Browse files Browse the repository at this point in the history
This caused builds on ARM to fail.
Resolves #1
  • Loading branch information
hut8 committed May 21, 2023
1 parent 82c5a3b commit cc0968f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geodesic/test_cases.go
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ var (
logic: func(t *testing.T) {
g, _ := NewGeodesic(6378137, 1/298.257222101)
r := g.InverseWithCapabilities(0, 0, 60.0832522871723, 89.8492185074635, capabilities.Area)
assert.InDelta(t, 42426932221845, r.S12Area, 0.5)
assert.InDelta(t, int64(42426932221845), r.S12Area, 0.5)
},
}
)
Expand Down

0 comments on commit cc0968f

Please sign in to comment.