[Gridflow-cvs] [svn] commit: r5656 - in /trunk/src: classes3.cxx gridflow.hxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Tue May 11 22:43:44 EDT 2010


Author: matju
Date: Tue May 11 22:43:44 2010
New Revision: 5656

Log:
remove NOTEMPTY: the end

Modified:
    trunk/src/classes3.cxx
    trunk/src/gridflow.hxx

Modified: trunk/src/classes3.cxx
==============================================================================
--- trunk/src/classes3.cxx (original)
+++ trunk/src/classes3.cxx Tue May 11 22:43:44 2010
@@ -1310,7 +1310,7 @@
 		}
 		for (int i=0; i<numClusters; i++) OP(/)->map(chans,sdata+i*chans,(T)cdata[i]);
 		out = new GridOutlet(this,1,counts->dim,counts->nt); out->send(counts->dim.prod(),(int32 *)*counts);
-		out = new GridOutlet(this,0,  sums->dim,sums->nt);   out->send(  sums->dim.prod(),(T     *)*  sums);
+		out = new GridOutlet(this,0,  sums->dim,  sums->nt); out->send(  sums->dim.prod(),(T     *)*  sums);
 	}
 };
 

Modified: trunk/src/gridflow.hxx
==============================================================================
--- trunk/src/gridflow.hxx (original)
+++ trunk/src/gridflow.hxx Tue May 11 22:43:44 2010
@@ -826,7 +826,6 @@
 
 #undef ARGS
 #define ARGS(OBJ) ((OBJ) ? (OBJ)->bself->binbuf_string().data() : "[???]")
-#define NOTEMPTY(A) if (!(A)) RAISE("'%s' is empty",#A);
 #define SAME_TYPE(A,B) if ((A).nt != (B)->nt) RAISE("same type please (%s has %s; %s has %s)", \
 	#A, number_type_table[(A).nt].name, \
 	#B, number_type_table[(B)->nt].name);



More information about the Gridflow-cvs mailing list