[Mathlib-commitlog] SF.net SVN: mathlib:[620] JMathLib/trunk/src/jmathlib/core/tokens/ Expression.j
Status: Beta
Brought to you by:
st_mueller
|
From: <st_...@us...> - 2009-01-05 15:06:29
|
Revision: 620
http://mathlib.svn.sourceforge.net/mathlib/?rev=620&view=rev
Author: st_mueller
Date: 2009-01-05 15:06:26 +0000 (Mon, 05 Jan 2009)
Log Message:
-----------
changed handling of global variables
Modified Paths:
--------------
JMathLib/trunk/src/jmathlib/core/tokens/Expression.java
Modified: JMathLib/trunk/src/jmathlib/core/tokens/Expression.java
===================================================================
--- JMathLib/trunk/src/jmathlib/core/tokens/Expression.java 2009-01-05 15:06:17 UTC (rev 619)
+++ JMathLib/trunk/src/jmathlib/core/tokens/Expression.java 2009-01-05 15:06:26 UTC (rev 620)
@@ -59,7 +59,7 @@
children = new OperandToken[2];
children[0] = left;
children[1] = right;
- noChildren = 2;
+ noChildren = 2;
}
/**Creates an expression with three operands
@@ -314,7 +314,7 @@
if (children[i]!=null)
{
ErrorLogger.debugLine("Expression: store ans "+children[i].toString());
- Variable answervar = getVariables().createVariable("ans");
+ Variable answervar = createVariable("ans");
answervar.assign(children[i]);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|