diff options
Diffstat (limited to 'js/Sources/CONST_m.js')
-rw-r--r-- | js/Sources/CONST_m.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Sources/CONST_m.js b/js/Sources/CONST_m.js index e234d175..14c15e6c 100644 --- a/js/Sources/CONST_m.js +++ b/js/Sources/CONST_m.js @@ -36,8 +36,8 @@ block_parameter_error(msprintf(gettext("Wrong size for \'%s\' parameter"),gettex } else { model.sim=list("cstblk4_m",4); model.opar=list(C); -if ((type[C-1]==1)) { -if (isreal[C-1]) { +if ((this.type[C-1]==1)) { +if (isreal(C)) { ot=1; } else { ot=2; |