Parity with 2.0.x bitmap functions

Based on #8565
This commit is contained in:
Scott Lahteine 2017-11-25 19:56:22 -06:00
parent bb0cc1bbbc
commit 1e84cded98
3 changed files with 13 additions and 13 deletions

View file

@ -1425,7 +1425,7 @@
if ( (type == INVALID && isnan(z_values[i][j])) // Check to see if this location holds the right thing
|| (type == REAL && !isnan(z_values[i][j]))
|| (type == SET_IN_BITMAP && is_bit_set(bits, i, j))
|| (type == SET_IN_BITMAP && is_bitmap_set(bits, i, j))
) {
// We only get here if we found a Mesh Point of the specified type
@ -1495,7 +1495,7 @@
if (location.x_index < 0) break; // stop when we can't find any more reachable points.
bit_clear(not_done, location.x_index, location.y_index); // Mark this location as 'adjusted' so we will find a
bitmap_clear(not_done, location.x_index, location.y_index); // Mark this location as 'adjusted' so we will find a
// different location the next time through the loop
const float rawx = mesh_index_to_xpos(location.x_index),