From 9b18945e2e2348db85595fb096a1e1eba04f9baf Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 9 Jul 2018 18:10:31 +0530 Subject: remove type from list --- js/NonLinear/MIN_f.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'js/NonLinear/MIN_f.js') diff --git a/js/NonLinear/MIN_f.js b/js/NonLinear/MIN_f.js index 62ee772a..a0582914 100644 --- a/js/NonLinear/MIN_f.js +++ b/js/NonLinear/MIN_f.js @@ -3,11 +3,11 @@ function MIN_f() { MIN_f.prototype.define = function MIN_f() { in1 = -1; this.model = scicos_model(); - this.model.sim = new ScilabString("minblk"); - this.model.in1 = new ScilabDouble(in1); - this.model.out = new ScilabDouble(1); + this.model.sim = new ScilabString(["minblk"]); + this.model.in1 = new ScilabDouble([in1]); + this.model.out = new ScilabDouble([1]); this.model.dstate = [[0],[0]]; - this.model.blocktype = new ScilabString("c"); + this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = [true,false]; exprs = sci2exp(in1); gr_i = []; -- cgit