summaryrefslogtreecommitdiff
path: root/data_structures/NRMSOM_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'data_structures/NRMSOM_f.js')
-rw-r--r--data_structures/NRMSOM_f.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/data_structures/NRMSOM_f.js b/data_structures/NRMSOM_f.js
index 37c8e3c..f13e210 100644
--- a/data_structures/NRMSOM_f.js
+++ b/data_structures/NRMSOM_f.js
@@ -1,19 +1,20 @@
function NRMSOM_f () {
- var in = [[-1],[-1]];
+ var in1 = [[-1],[-1]];
var nin = 2;
var model = scicos_model();
model.sim = new ScilabString(["junk"]);
- model.in=in;
+ model.in1.push(in1);
model.out = new ScilabDouble([-1]);
model.blocktype = new ScilabString(["c"]);
model.dep_ut = new ScilabBoolean([true,false]);
- var exprs = [nin.toString()];
+ var exprs = [string(nin)];
var gr_i = [];
this.x=new standard_define(new ScilabDouble([.2,2]),model,exprs,gr_i);
+ return new BasicBlock(this.x)
}