Handle the new Log10 class.

This commit is contained in:
Par Winzell
2009-09-09 19:57:58 +00:00
parent 2ae7d6146b
commit 92fd3054ca
@@ -57,6 +57,7 @@ import com.samskivert.depot.function.NumericalFun.Ceil;
import com.samskivert.depot.function.NumericalFun.Exp;
import com.samskivert.depot.function.NumericalFun.Floor;
import com.samskivert.depot.function.NumericalFun.Ln;
import com.samskivert.depot.function.NumericalFun.Log10;
import com.samskivert.depot.function.NumericalFun.LogN;
import com.samskivert.depot.function.NumericalFun.Pi;
import com.samskivert.depot.function.NumericalFun.Power;
@@ -389,6 +390,11 @@ public class ExpressionEvaluator
throw new IllegalArgumentException("Can't evaluate expression: " + exp);
}
public Void visit (Log10 exp)
{
throw new IllegalArgumentException("Can't evaluate expression: " + exp);
}
public Void visit (LogN exp)
{
throw new IllegalArgumentException("Can't evaluate expression: " + exp);