diff options
Diffstat (limited to 'js/Linear/SOM_f.js')
-rw-r--r-- | js/Linear/SOM_f.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Linear/SOM_f.js b/js/Linear/SOM_f.js index 33b8d81b..ec087b3c 100644 --- a/js/Linear/SOM_f.js +++ b/js/Linear/SOM_f.js @@ -4,7 +4,7 @@ function SOM_f() { sgn = [[1],[1],[1]]; this.model = scicos_model(); this.model.sim = list(new ScilabString(["sum"]), new ScilabDouble([2])); - this.model.in1 = [[-1],[-1],[-1]]; + this.model.in1 = new ScilabDouble([-1],[-1],[-1]); this.model.out = new ScilabDouble([-1]); this.model.rpar = new ScilabDouble(sgn); this.model.blocktype = new ScilabString(["c"]); |