summaryrefslogtreecommitdiff
path: root/js/Linear/DERIV.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/DERIV.js')
-rw-r--r--js/Linear/DERIV.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Linear/DERIV.js b/js/Linear/DERIV.js
index 811fb47a..ba5c9ca6 100644
--- a/js/Linear/DERIV.js
+++ b/js/Linear/DERIV.js
@@ -2,7 +2,7 @@
function DERIV() {
DERIV.prototype.define = function DERIV() {
this.model = scicos_model();
- this.model.sim = list("deriv",4);
+ this.model.sim = list(new ScilabString("deriv"),new ScilabDouble(4));
this.model.in1 = new ScilabDouble(-1);
this.model.out = new ScilabDouble(-1);
this.model.blocktype = new ScilabString("x");