[Gridflow-cvs] [svn] commit: r3664 - /trunk/base/flow_objects.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Fri Apr 25 22:35:31 EDT 2008


Author: matju
Date: Fri Apr 25 22:35:30 2008
New Revision: 3664

Log:
typo

Modified:
    trunk/base/flow_objects.c

Modified: trunk/base/flow_objects.c
==============================================================================
--- trunk/base/flow_objects.c (original)
+++ trunk/base/flow_objects.c Fri Apr 25 22:35:30 2008
@@ -431,7 +431,7 @@
 	if (na<1) RAISE("must have at least 1 dimension.",na,1,1+nb);
 	long nc = in->dim->get(na-1);
 	if (nc>nb) RAISE("got %d elements in last dimension, expecting <= %d", nc, nb);
-	long nnc = r->dim->prod(nnc);
+	long nnc = r->dim->prod(nc);
 	int lastindexable = nnc ? r->dim->prod()/nnc-1 : 0; // SIGFPE happened when r was especially empty (nnc==0)
 	int ngreatest = nt_greatest((T *)0);
 	if (lastindexable > ngreatest) RAISE("lastindexable=%d > ngreatest=%d (ask matju)",lastindexable,ngreatest);



More information about the Gridflow-cvs mailing list