From 8fab7dbe42400f3237108c902fc76866b0ceac98 Mon Sep 17 00:00:00 2001 From: lempinen Date: Mon, 23 Aug 2010 12:03:47 +0000 Subject: [PATCH] Replaced interpolate function with a proper one git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@17467 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../sysdyn/representation/expressions/WithLookupExpression.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/representation/expressions/WithLookupExpression.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/representation/expressions/WithLookupExpression.java index 017a11bf..b9137bd0 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/representation/expressions/WithLookupExpression.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/representation/expressions/WithLookupExpression.java @@ -32,7 +32,7 @@ public class WithLookupExpression extends Expression { @Override public String getEquation(IndependentVariable variable) { return - " " + variable.getName() + " = Interpolate(table = " + lookupTable + ", xp = " + equation + ");\n"; + " " + variable.getName() + " = Interpolate(" + equation + ", " + lookupTable + ", 2);\n"; } } -- 2.47.1