Revision: 7791
Author: victormote
Date: 2006-07-17 19:14:11 -0700 (Mon, 17 Jul 2006)
ViewCVS: http://svn.sourceforge.net/foray/?rev=7791&view=rev
Log Message:
-----------
Fix unit power computation.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/ExprUnaryOper.java
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/ExprUnaryOper.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/ExprUnaryOper.java 2006-07-18 02:13:25 UTC (rev 7790)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/ExprUnaryOper.java 2006-07-18 02:14:11 UTC (rev 7791)
@@ -72,7 +72,7 @@
* {@inheritDoc}
*/
public byte unitPower() {
- return -1;
+ return this.operand1.unitPower();
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|