diff options
Diffstat (limited to 'data_structures/MATDIAG.js')
-rw-r--r-- | data_structures/MATDIAG.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/data_structures/MATDIAG.js b/data_structures/MATDIAG.js index 9285d04..0bdf382 100644 --- a/data_structures/MATDIAG.js +++ b/data_structures/MATDIAG.js @@ -7,7 +7,7 @@ function MATDIAG () { var funtyp = 4; model.sim=list(function_name,funtyp); - model.in = new ScilabDouble([-1]); + model.in1 = new ScilabDouble([-1]); model.in2 = new ScilabDouble([1]); model.intyp = new ScilabDouble([1]); model.out = new ScilabDouble([-1]); @@ -27,4 +27,5 @@ function MATDIAG () { var gr_i = []; this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i); + return new BasicBlock(this.x) } |