Commit b51c57cf authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

compareXYvals2: compare the present of bounds.

parent e56c9435
......@@ -2185,7 +2185,9 @@ bool compareXYvals2(grid_t *gridRef, grid_t *gridTest)
{
size_t gridsize = gridTest->size;
bool differ = ((gridTest->x.vals == NULL) ^ (gridRef->x.vals == NULL))
|| ((gridTest->y.vals == NULL) ^ (gridRef->y.vals == NULL));
|| ((gridTest->y.vals == NULL) ^ (gridRef->y.vals == NULL))
|| ((gridTest->x.bounds == NULL) ^ (gridRef->x.bounds == NULL))
|| ((gridTest->y.bounds == NULL) ^ (gridRef->y.bounds == NULL));
typedef double (*inqVal)(grid_t *grid, size_t index);
inqVal inqXValRef = gridRef->vtable->inqXVal,
......
Markdown is supported
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