diff options
author | Sunil Shetye | 2018-06-16 08:23:15 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-16 08:23:15 +0530 |
commit | 58c3b670390b278ee45a4b45ccb36a949ad582eb (patch) | |
tree | 722ea570b5703195e4fdbf84c7410776177cc70f /js/Sources/INIMPL_f.js | |
parent | 4a602cc59c9bc5a888e50caa40776e4fb5e7b852 (diff) | |
download | sci2js-58c3b670390b278ee45a4b45ccb36a949ad582eb.tar.gz sci2js-58c3b670390b278ee45a4b45ccb36a949ad582eb.tar.bz2 sci2js-58c3b670390b278ee45a4b45ccb36a949ad582eb.zip |
make exprs an array by default
Diffstat (limited to 'js/Sources/INIMPL_f.js')
-rw-r--r-- | js/Sources/INIMPL_f.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Sources/INIMPL_f.js b/js/Sources/INIMPL_f.js index c6afca25..26990047 100644 --- a/js/Sources/INIMPL_f.js +++ b/js/Sources/INIMPL_f.js @@ -8,7 +8,7 @@ graphics=arg1.graphics; exprs=graphics.exprs; model=arg1.model; if (size(exprs,"*")==2) { -exprs=exprs(1); +exprs=exprs[1-1]; } while (true) { [ok,prt,exprs]=scicos_getvalue([msprintf(gettext("Set %s block parameters"),"INIMPL_f")," ",gettext("Implicit input port")," "],"Port Number",list("vec",1),exprs); |