From ddc652be76a72971d171e82949a1739be57f4bd1 Mon Sep 17 00:00:00 2001 From: Whiteknight Date: Sat, 7 Nov 2009 09:39:44 -0500 Subject: [PATCH] fix a small typo that was breaking some tests --- src/pmc/pla_matrix_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pmc/pla_matrix_types.h b/src/pmc/pla_matrix_types.h index ab01e24..12003f3 100644 --- a/src/pmc/pla_matrix_types.h +++ b/src/pmc/pla_matrix_types.h @@ -21,7 +21,7 @@ do { \ INDEX_XY_ROWMAJOR(x_max, y_max, x, y))) #define ITEM_XY_ROWMAJOR(s, x_max, y_max, x, y) \ - (s)[INDEX_XY_ROWMAJOR(x_max, y_max, x, x)] + (s)[INDEX_XY_ROWMAJOR(x_max, y_max, x, y)] #define ITEM_XY_COLMAJOR(s, x_max, y_max, x, y) \ (s)[INDEX_XY_COLMAJOR(x_max, y_max, x, y)]