diff options
author | Sunil Shetye | 2018-07-16 15:29:15 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-16 15:31:24 +0530 |
commit | 5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f (patch) | |
tree | 8b842ea29c504a11164c39221e948fdaa8fa9035 /js/Sources/Sigbuilder.js | |
parent | 614f18061faa4fc126f0d3577792dd9adfb3f240 (diff) | |
download | sci2js-5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f.tar.gz sci2js-5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f.tar.bz2 sci2js-5929c9088b6d5dcd23e8bbf9abdc5c9b4a49df1f.zip |
treat third argument of standard_define as model expression
Diffstat (limited to 'js/Sources/Sigbuilder.js')
-rw-r--r-- | js/Sources/Sigbuilder.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Sources/Sigbuilder.js b/js/Sources/Sigbuilder.js index e2c9c722..b4f130fc 100644 --- a/js/Sources/Sigbuilder.js +++ b/js/Sources/Sigbuilder.js @@ -12,7 +12,7 @@ function Sigbuilder() { scs_m_1.objs[8-1] = scicos_link(xx=[[349.49528],[349.49528]],yy=[[565.10704],[535.10704]],id="drawlink",thick=[0,0],ct=[5,-1],from=[3,1,0],to=[7,1,1]); this.model = scicos_model(sim="csuper",in1=[],in2=[],intyp=1,out=-1,out2=[],outtyp=1,evtin=[],evtout=1,state=[],dstate=[],odstate=list(),rpar=scs_m_1,ipar=[],opar=list(),blocktype="h",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list()); this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"Sigbuilder\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([3,2]),this.model,[],this.gr_i); + this.x = new standard_define(new ScilabDouble([3,2]),this.model,new ScilabDouble([]),this.gr_i); return new BasicBlock(this.x); } Sigbuilder.prototype.details = function Sigbuilder() { |