From 122b402ef416aad1c2c09ef46f37c58da019941b Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Wed, 20 Sep 2017 15:45:43 -0700 Subject: [PATCH] Switch to using NumberRange in range-related areas. --- fx/src/main/kotlin/org/nwapw/abacus/fx/graphing/Graph.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fx/src/main/kotlin/org/nwapw/abacus/fx/graphing/Graph.kt b/fx/src/main/kotlin/org/nwapw/abacus/fx/graphing/Graph.kt index 9486da1..2291cfd 100644 --- a/fx/src/main/kotlin/org/nwapw/abacus/fx/graphing/Graph.kt +++ b/fx/src/main/kotlin/org/nwapw/abacus/fx/graphing/Graph.kt @@ -9,6 +9,7 @@ import org.nwapw.abacus.context.EvaluationContext import org.nwapw.abacus.context.MutableEvaluationContext import org.nwapw.abacus.number.NaiveNumber import org.nwapw.abacus.number.NumberInterface +import org.nwapw.abacus.number.NumberRange import org.nwapw.abacus.plugin.StandardPlugin import org.nwapw.abacus.tree.TreeNode @@ -30,7 +31,7 @@ import org.nwapw.abacus.tree.TreeNode * @property pointInputVariable the variable which is substituted for the number of the input point being generated. */ class Graph(val abacus: Abacus, - var domain: ClosedRange, var range: ClosedRange, + var domain: NumberRange, var range: NumberRange, var inputVariable: String = "x", var pointInputVariable: String = "n") { /**