summaryrefslogtreecommitdiff
path: root/js/Misc/MPBLOCK.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-15 00:26:52 +0530
committerSunil Shetye2018-07-15 07:11:58 +0530
commit92f8a251bbaeddf6ec034722a3079d865517d650 (patch)
treefb1b9f51c3456c04c02ac3ab144b65bdd392e98b /js/Misc/MPBLOCK.js
parentc394c9628cd411c95def024d47f10d953e160ec5 (diff)
downloadsci2js-92f8a251bbaeddf6ec034722a3079d865517d650.tar.gz
sci2js-92f8a251bbaeddf6ec034722a3079d865517d650.tar.bz2
sci2js-92f8a251bbaeddf6ec034722a3079d865517d650.zip
handle boolean differently
Diffstat (limited to 'js/Misc/MPBLOCK.js')
-rw-r--r--js/Misc/MPBLOCK.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/MPBLOCK.js b/js/Misc/MPBLOCK.js
index 05ec71a5..ddaca010 100644
--- a/js/Misc/MPBLOCK.js
+++ b/js/Misc/MPBLOCK.js
@@ -12,7 +12,7 @@ function MPBLOCK() {
this.exprs = tlist(["MPBLOCK","in","intype","out","outtype","param","paramv","pprop","nameF","funtxt"],sci2exp(this.in1.slice()),sci2exp(this.intype.slice()),sci2exp(this.out.slice()),sci2exp(this.outtype.slice()),sci2exp(param.slice()),list(string(0.1),string(.0001)),sci2exp(pprop.slice()),nameF,[]);
this.model = scicos_model();
this.model.blocktype = new ScilabString(["c"]);
- this.model.dep_ut = new ScilabDouble([true,true]);
+ this.model.dep_ut = new ScilabBoolean([true,true]);
this.model.rpar = new ScilabDouble([]);
for (i=1;i<=lstsize(paramv);i+=1) {
this.model.rpar = new ScilabDouble([this.model.rpar],[paramv[i-1].slice()]);