diff options
Diffstat (limited to 'js/Hydraulics/PerteDP.js')
-rw-r--r-- | js/Hydraulics/PerteDP.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Hydraulics/PerteDP.js b/js/Hydraulics/PerteDP.js index 15d9712d..991c97f2 100644 --- a/js/Hydraulics/PerteDP.js +++ b/js/Hydraulics/PerteDP.js @@ -24,7 +24,7 @@ function PerteDP() { this.model.out = new ScilabDouble([ones(size(mo.outputs,"*"),1)]); this.exprs = [[string(this.L)],[string(this.D)],[string(this.lambda)],[string(this.z1)],[string(this.z2)],[string(this.p_rho)]]; this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"PerteDP\",sz(1),sz(2));"]); - this.x = standard_define([2,1],this.model,this.exprs,list(this.gr_i,0)); + this.x = new standard_define(new ScilabDouble([2,1]),this.model,this.exprs,list(this.gr_i,0)); this.x.graphics.in_implicit = ["I"]; this.x.graphics.out_implicit = ["I"]; return new BasicBlock(this.x); |