Skip to content

Commit

Permalink
doh! last minute changes are not a good idea
Browse files Browse the repository at this point in the history
  • Loading branch information
iverase committed Oct 13, 2023
1 parent c814dbd commit 500d165
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ private static double tileToLon(double xTile, double tiles) {
* Decode a yTile into its latitude value
*/
public static double tileToLat(int yTile, int tiles) {
final double lat = tileToLat(yTile, tiles);
final double lat = tileToLat((double) yTile, tiles);
if (tiles < MAX_TILES_FULL_PRECISION || yTile == 0 || yTile == tiles) {
return lat; // precise case, don't need to do more work
}
Expand Down

0 comments on commit 500d165

Please sign in to comment.