summaryrefslogtreecommitdiff
path: root/data_structures/POSTONEG_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'data_structures/POSTONEG_f.js')
-rw-r--r--data_structures/POSTONEG_f.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/data_structures/POSTONEG_f.js b/data_structures/POSTONEG_f.js
index 2d107c8..53c941b 100644
--- a/data_structures/POSTONEG_f.js
+++ b/data_structures/POSTONEG_f.js
@@ -4,9 +4,9 @@ function POSTONEG_f () {
var rpar = [[-1],[-1],[-1],[0]];
var model = scicos_model();
- model.sim=list("zcross",1);
+ model.sim=list(new ScilabString(["zcross"]),new ScilabDouble([1]));
model.nzcross = new ScilabDouble([1]);
- model.in = new ScilabDouble([1]);
+ model.in1 = new ScilabDouble([1]);
model.evtout = new ScilabDouble([1]);
model.rpar = new ScilabDouble([-1],[-1],[-1],[0]);
model.blocktype = new ScilabString(["z"]);
@@ -15,4 +15,5 @@ function POSTONEG_f () {
var gr_i = [];
this.x=new standard_define(new ScilabDouble([2,2]),model,[],gr_i);
+ return new BasicBlock(this.x)
}