From f1ebf2e2cfce4f666a8b3d22106e43952b22a355 Mon Sep 17 00:00:00 2001 From: "Jostein R. Natvig" Date: Fri, 8 Apr 2011 12:46:19 +0000 Subject: [PATCH] Fix stupid typo. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bård Skaflestad --- processgrid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processgrid.c b/processgrid.c index 276c3fa5..a7fe553f 100644 --- a/processgrid.c +++ b/processgrid.c @@ -169,7 +169,7 @@ fill_faces(mxArray *faces, struct processed_grid *grid) /* Fill faces.tag */ pi = mxGetData(mxGetField(faces, 0, "tag")); - for (f = 0; f < nf; f++) { pi[f] = grid->face_tag[i] + 1; } + for (f = 0; f < nf; f++) { pi[f] = grid->face_tag[f] + 1; } }