Skip to content
Snippets Groups Projects
Commit 682c8fd4 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Fix incorrect array used in grid comparison.

parent 5a4bfec0
No related branches found
No related tags found
No related merge requests found
......@@ -2495,8 +2495,8 @@ int gridCompareP ( void * gridptr1, void * gridptr2 )
else if ( g2_xvals )
return differ;
const double *restrict g1_yvals = g1->vtable->inqXValsPtr(g1),
*restrict g2_yvals = g2->vtable->inqXValsPtr(g2);
const double *restrict g1_yvals = g1->vtable->inqYValsPtr(g1),
*restrict g2_yvals = g2->vtable->inqYValsPtr(g2);
if ( g1_yvals )
{
if ( g1->type == GRID_UNSTRUCTURED || g1->type == GRID_CURVILINEAR )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment