diff options
author | Sunil Shetye | 2018-07-10 10:51:41 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-10 11:24:53 +0530 |
commit | e99608a59243936dfe2e5f3aaa81411df3847f18 (patch) | |
tree | 6f588a3371c84c158558836a90ba99fb7b6d3a7f /js/Misc/CONSTRAINT_c.js | |
parent | 30c83c60e309a3b94d7bb7dcf5cfebd5db1884cb (diff) | |
download | sci2js-e99608a59243936dfe2e5f3aaa81411df3847f18.tar.gz sci2js-e99608a59243936dfe2e5f3aaa81411df3847f18.tar.bz2 sci2js-e99608a59243936dfe2e5f3aaa81411df3847f18.zip |
allow expression in lterm
Diffstat (limited to 'js/Misc/CONSTRAINT_c.js')
-rw-r--r-- | js/Misc/CONSTRAINT_c.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/CONSTRAINT_c.js b/js/Misc/CONSTRAINT_c.js index 5eedd1cd..07500b5b 100644 --- a/js/Misc/CONSTRAINT_c.js +++ b/js/Misc/CONSTRAINT_c.js @@ -39,7 +39,7 @@ function CONSTRAINT_c() { if (N<=0) { message("number of states (constraints) must be > 0 "); } else { - [model,graphics,ok] = check_io(this.model,graphics,N,N,[],[]); + [this.model,graphics,ok] = check_io(this.model,graphics,N,N,[],[]); if (ok) { graphics.exprs = exprs; this.model.state = [[this.x0],[zeros(N,1)]]; |