Skip to content
Snippets Groups Projects
Commit 765af15d authored by Leila Gonzales's avatar Leila Gonzales Committed by Demian Katz
Browse files

Fix bug in EW validation indexing routine (#1034)

parent a09abb4a
Branches
Tags
No related merge requests found
...@@ -359,7 +359,7 @@ public class GeoTools ...@@ -359,7 +359,7 @@ public class GeoTools
public boolean validateEastWest(Record record, Double east, Double west) { public boolean validateEastWest(Record record, Double east, Double west) {
if (east < west) { if (east < west) {
// Convert to 360 degree grid // Convert to 360 degree grid
if (east < 0) { if (east <= 0) {
east = 360 + east; east = 360 + east;
} }
if (west < 0) { if (west < 0) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment