From f869c2a01d962867e150edb9b7c0d1d882b5911f Mon Sep 17 00:00:00 2001 From: Michael Lemaire Date: Thu, 18 Sep 2014 10:09:25 +0200 Subject: [PATCH] Fix compile in debug mode --- src/definition/PaintedGrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definition/PaintedGrid.cpp b/src/definition/PaintedGrid.cpp index 527fef8..e2e88b1 100644 --- a/src/definition/PaintedGrid.cpp +++ b/src/definition/PaintedGrid.cpp @@ -223,7 +223,7 @@ double *PaintedGrid::getDataPointer(PaintedGridData *data, int x, int y, Painted /* Check rows */ for (i = 1; i < data->rows_count; i++) { - assert(data->rows[i].z > data->rows[i - 1].z); + assert(data->rows[i].y > data->rows[i - 1].y); } #endif