From 92fd3054cad67b7f4779ef183854a5493335ff57 Mon Sep 17 00:00:00 2001 From: Par Winzell Date: Wed, 9 Sep 2009 19:57:58 +0000 Subject: [PATCH] Handle the new Log10 class. --- src/java/com/samskivert/depot/impl/ExpressionEvaluator.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/java/com/samskivert/depot/impl/ExpressionEvaluator.java b/src/java/com/samskivert/depot/impl/ExpressionEvaluator.java index 062ba5d..26bfb69 100644 --- a/src/java/com/samskivert/depot/impl/ExpressionEvaluator.java +++ b/src/java/com/samskivert/depot/impl/ExpressionEvaluator.java @@ -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);