Commit 86ee95ca authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

No commit message

No commit message
parent b8aca083
......@@ -2104,6 +2104,7 @@ static void grid_check_cyclic(GRID *gridptr)
{
xinc = xvals[1] - xvals[0];
x0 = 2*xvals[xsize-1]-xvals[xsize-2]-360;
if ( ! DBL_IS_EQUAL(xvals[0], xvals[xsize-1]) )
if ( DBL_IS_EQUAL(x0, xvals[0]) ) gridptr->isCyclic = TRUE;
}
}
......
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