Commit 53b12691 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Use IS_EQUAL() to compare bounds.

parent ae7fdbd6
......@@ -3278,7 +3278,7 @@ check_and_gen_bounds_curv(int gridID, int totalsize, int xnbounds, int xlength,
{
if (xnbounds != 4 * totalsize || ynbounds != 4 * totalsize
|| (IS_EQUAL(xcell_bounds[1], 0.0) && IS_EQUAL(xcell_bounds[2], 0.0))
|| (IS_EQUAL(ycell_bounds[1], 0.0) && IS_EQUAL(ycell_bounds[2], 0.0))
|| (IS_EQUAL(ycell_bounds[1], 0.0) && IS_EQUAL(ycell_bounds[2], 0.0)))
{
double halflons[xlength + 1][ylength];
double halflats[xlength][ylength + 1];
......
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