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

cgribexGetGrid: removed ISEC2_LastLon < 0 in comparision.

parent 98e563d9
......@@ -187,7 +187,7 @@ void cgribexGetGrid(stream_t *streamptr, int *isec2, int *isec4, grid_t *grid, i
{
bool recompinc = true;
if ( ISEC2_LastLon < ISEC2_FirstLon && ISEC2_LastLon < 0 ) ISEC2_LastLon += 360000;
if ( ISEC2_LastLon < ISEC2_FirstLon ) ISEC2_LastLon += 360000;
if ( ijDirectionIncrementGiven && ISEC2_LonIncr > 0 )
{
......
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