Handle the new Log10 class.
This commit is contained in:
@@ -57,6 +57,7 @@ import com.samskivert.depot.function.NumericalFun.Ceil;
|
|||||||
import com.samskivert.depot.function.NumericalFun.Exp;
|
import com.samskivert.depot.function.NumericalFun.Exp;
|
||||||
import com.samskivert.depot.function.NumericalFun.Floor;
|
import com.samskivert.depot.function.NumericalFun.Floor;
|
||||||
import com.samskivert.depot.function.NumericalFun.Ln;
|
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.LogN;
|
||||||
import com.samskivert.depot.function.NumericalFun.Pi;
|
import com.samskivert.depot.function.NumericalFun.Pi;
|
||||||
import com.samskivert.depot.function.NumericalFun.Power;
|
import com.samskivert.depot.function.NumericalFun.Power;
|
||||||
@@ -389,6 +390,11 @@ public class ExpressionEvaluator
|
|||||||
throw new IllegalArgumentException("Can't evaluate expression: " + exp);
|
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)
|
public Void visit (LogN exp)
|
||||||
{
|
{
|
||||||
throw new IllegalArgumentException("Can't evaluate expression: " + exp);
|
throw new IllegalArgumentException("Can't evaluate expression: " + exp);
|
||||||
|
|||||||
Reference in New Issue
Block a user