[Gridflow-cvs] [svn] commit: r5253 - in /trunk/src: classes1.cxx formats.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Mon Mar 29 19:10:05 EDT 2010


Author: matju
Date: Mon Mar 29 19:10:04 2010
New Revision: 5253

Log:
rien

Modified:
    trunk/src/classes1.cxx
    trunk/src/formats.cxx

Modified: trunk/src/classes1.cxx
==============================================================================
--- trunk/src/classes1.cxx (original)
+++ trunk/src/classes1.cxx Mon Mar 29 19:10:04 2010
@@ -483,10 +483,9 @@
 	// put_at ( ... )
 	snap_backstore(r);
 	SAME_TYPE(in,r);
-	//!@#$ should check types. if (r->nt!=in->nt) RAISE("shoo");
 	long nn=r->dim->n, na=put_at->dim->v[0], nb=in->dim->n;
 	int32 sizeb[nn];
-	for (int i=0; i<nn; i++) { fromb[i]=0; sizeb[i]=1; }
+	for (int i=0; i<nn; i++) {fromb[i]=0; sizeb[i]=1;}
 	COPY(wdex       ,(int32 *)*put_at   ,put_at->dim->prod());
 	COPY(fromb+nn-na,(int32 *)*put_at   ,na);
 	COPY(sizeb+nn-nb,(int32 *)in->dim->v,nb);
@@ -506,7 +505,6 @@
 	in->set_chunk(     chunk);
 	cs = in->dim->prod(chunk);
 } GRID_FLOW {
-	//fprintf(stderr,"d=%d\n",d);
 	if (!put_at) { // reassign
 		COPY(((T *)*(r.next ? r.next.p : &*r.p))+dex, data, n);
 		return;

Modified: trunk/src/formats.cxx
==============================================================================
--- trunk/src/formats.cxx (original)
+++ trunk/src/formats.cxx Mon Mar 29 19:10:04 2010
@@ -87,7 +87,7 @@
 	}
 	free(s);
 }
-\end class SuffixLookup {install("gf.suffix_lookup",1,3);}
+\end class {install("gf.suffix_lookup",1,3);}
 
 \class Format : FObject
 Format::Format (BFObject *bself, MESSAGE) : FObject(bself,MESSAGE2) {



More information about the Gridflow-cvs mailing list