summaryrefslogtreecommitdiff
path: root/js/Linear/DLR_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/DLR_f.js')
-rw-r--r--js/Linear/DLR_f.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Linear/DLR_f.js b/js/Linear/DLR_f.js
index 73628389..3f573c1c 100644
--- a/js/Linear/DLR_f.js
+++ b/js/Linear/DLR_f.js
@@ -26,6 +26,8 @@ function DLR_f() {
DLR_f.prototype.get = function DLR_f() {
}
DLR_f.prototype.set = function DLR_f() {
+ this.num = parseFloat((arguments[0]["num"]))
+ this.den = parseFloat((arguments[0]["den"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;