summaryrefslogtreecommitdiff
path: root/js/Sinks/TOWS_c.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-13 23:47:42 +0530
committerSunil Shetye2018-07-15 07:11:58 +0530
commit884d1b369dec2654d46c2dab31d2ae85b0be01ba (patch)
tree07284f0a65cca09fd7811c9592c33f17b4d0f8ad /js/Sinks/TOWS_c.js
parent6ee02952c836bb31e9b51783e6a16724fba64637 (diff)
downloadsci2js-884d1b369dec2654d46c2dab31d2ae85b0be01ba.tar.gz
sci2js-884d1b369dec2654d46c2dab31d2ae85b0be01ba.tar.bz2
sci2js-884d1b369dec2654d46c2dab31d2ae85b0be01ba.zip
support for new standard_define
Diffstat (limited to 'js/Sinks/TOWS_c.js')
-rw-r--r--js/Sinks/TOWS_c.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Sinks/TOWS_c.js b/js/Sinks/TOWS_c.js
index 7dae3640..1d69b0ee 100644
--- a/js/Sinks/TOWS_c.js
+++ b/js/Sinks/TOWS_c.js
@@ -20,7 +20,7 @@ function TOWS_c() {
this.model.dep_ut = new ScilabDouble([false,false]);
this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"TOWS_c\",sz(1),sz(2));"]);
this.exprs = [[string(this.nz)],[string(this.varnam)],[string(this.herit)]];
- this.x = standard_define([4,2],this.model,this.exprs,this.gr_i);
+ this.x = new standard_define(new ScilabDouble([4,2]),this.model,this.exprs,this.gr_i);
return new BasicBlock(this.x);
}
TOWS_c.prototype.details = function TOWS_c() {