[Avida-SVN] r2495 - development/source/script
brysonda at myxo.css.msu.edu
brysonda at myxo.css.msu.edu
Sun Mar 23 14:33:47 PDT 2008
Author: brysonda
Date: 2008-03-23 17:33:47 -0400 (Sun, 23 Mar 2008)
New Revision: 2495
Modified:
development/source/script/cDirectInterpretASTVisitor.cc
Log:
AS:
Scalar matrix cast should actually return the created matrix.
Modified: development/source/script/cDirectInterpretASTVisitor.cc
===================================================================
--- development/source/script/cDirectInterpretASTVisitor.cc 2008-03-23 21:24:35 UTC (rev 2494)
+++ development/source/script/cDirectInterpretASTVisitor.cc 2008-03-23 21:33:47 UTC (rev 2495)
@@ -1743,6 +1743,7 @@
cLocalMatrix* mat = new cLocalMatrix();
mat->Resize(1, 1);
mat->GetRow(0)->Set(0, val);
+ return mat;
}
case TYPE(MATRIX):
More information about the Avida-cvs
mailing list