summaryrefslogtreecommitdiff
path: root/js/NonLinear/DLRADAPT_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/NonLinear/DLRADAPT_f.js')
-rw-r--r--js/NonLinear/DLRADAPT_f.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/js/NonLinear/DLRADAPT_f.js b/js/NonLinear/DLRADAPT_f.js
index 3bb3e9bd..7845c28a 100644
--- a/js/NonLinear/DLRADAPT_f.js
+++ b/js/NonLinear/DLRADAPT_f.js
@@ -38,12 +38,12 @@ function DLRADAPT_f() {
return options;
}
DLRADAPT_f.prototype.set = function DLRADAPT_f() {
- this.p = parseFloat((arguments[0]["p"]))
- this.rn = parseFloat((arguments[0]["rn"]))
- this.rd = parseFloat((arguments[0]["rd"]))
- this.g = parseFloat((arguments[0]["g"]))
- this.last_u = parseFloat((arguments[0]["last_u"]))
- this.last_y = parseFloat((arguments[0]["last_y"]))
+ this.p = inverse((arguments[0]["p"]))
+ this.rn = inverse((arguments[0]["rn"]))
+ this.rd = inverse((arguments[0]["rd"]))
+ this.g = inverse((arguments[0]["g"]))
+ this.last_u = inverse((arguments[0]["last_u"]))
+ this.last_y = inverse((arguments[0]["last_y"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;