From 0047c3bea1d86b12a08544f6f0833c63e77f6eac Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Wed, 11 Jul 2018 15:19:38 +0530 Subject: support vector also --- js/Linear/PID.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Linear/PID.js') diff --git a/js/Linear/PID.js b/js/Linear/PID.js index 320f1396..659289e1 100644 --- a/js/Linear/PID.js +++ b/js/Linear/PID.js @@ -33,7 +33,7 @@ function PID() { this.model.outtyp = new ScilabDouble([1]); this.model.blocktype = new ScilabString(["h"]); this.model.firing = new ScilabBoolean([false]); - this.model.dep_ut = [false,false]; + this.model.dep_ut = new ScilabDouble([false,false]); this.model.rpar = new ScilabDouble([scs_m]); var gr_i = []; this.x = standard_define([2,2],this.model,[],gr_i); -- cgit