summaryrefslogtreecommitdiff
path: root/data_structures/CONSTRAINT_c.js
diff options
context:
space:
mode:
Diffstat (limited to 'data_structures/CONSTRAINT_c.js')
-rw-r--r--data_structures/CONSTRAINT_c.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/data_structures/CONSTRAINT_c.js b/data_structures/CONSTRAINT_c.js
index e986197..567ec0f 100644
--- a/data_structures/CONSTRAINT_c.js
+++ b/data_structures/CONSTRAINT_c.js
@@ -4,8 +4,8 @@ function CONSTRAINT_c () {
var x0 = [[0],[0]];
var model = scicos_model();
- model.sim=list("constraint_c",10004);
- model.in = new ScilabDouble([1]);
+ model.sim=list(new ScilabString(["constraint_c"]),new ScilabDouble([10004]));
+ model.in1 = new ScilabDouble([1]);
model.out = new ScilabDouble([1]);
model.ipar = new ScilabDouble([0]);
model.state=new ScilabDouble([x0]);
@@ -16,4 +16,5 @@ function CONSTRAINT_c () {
var gr_i = [];
this.x=new standard_define(new ScilabDouble([3,2]),model,exprs,gr_i);
+ return new BasicBlock(this.x)
}