Skip to content

Commit

Permalink
fix assign index map
Browse files Browse the repository at this point in the history
  • Loading branch information
ftomei committed Jul 9, 2024
1 parent 233ae01 commit 1d591b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gis/gis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1355,7 +1355,9 @@ namespace gis
c = -1;

float valueBoundary = rasterRef.getValueFromRowCol(row + r, col + c);
return isEqual(valueBoundary, rasterRef.header->flag);
bool isBoundary = isEqual(valueBoundary, rasterRef.header->flag);

return isBoundary;
}


Expand Down

0 comments on commit 1d591b5

Please sign in to comment.