diff options
author | AMIT KUMAR YADAV | 2016-06-28 15:48:44 +0530 |
---|---|---|
committer | AMIT KUMAR YADAV | 2016-06-28 15:48:44 +0530 |
commit | 07a9675b5e9ca9c61b17183486cbd3a257afa829 (patch) | |
tree | 595ff088df33584f40da0b338a76cc044527bfa6 /data_structures_correct/CUMSUM.js | |
parent | 5e669901d0edfff6859fc0f79cd79ccffc869ab5 (diff) | |
download | xcos-on-web-07a9675b5e9ca9c61b17183486cbd3a257afa829.tar.gz xcos-on-web-07a9675b5e9ca9c61b17183486cbd3a257afa829.tar.bz2 xcos-on-web-07a9675b5e9ca9c61b17183486cbd3a257afa829.zip |
Implement CUMSUM block
Diffstat (limited to 'data_structures_correct/CUMSUM.js')
-rw-r--r-- | data_structures_correct/CUMSUM.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data_structures_correct/CUMSUM.js b/data_structures_correct/CUMSUM.js index e3d4c98..5bde26a 100644 --- a/data_structures_correct/CUMSUM.js +++ b/data_structures_correct/CUMSUM.js @@ -6,7 +6,7 @@ function CUMSUM () { this.function_name = "cumsum_m"; this.funtyp = 4; - model.sim=list(this.function_name,this.funtyp); + model.sim=list(new ScilabString(this.function_name),new ScilabDouble(this.funtyp)); model.in1 = new ScilabDouble([-1]); model.in2 = new ScilabDouble([-2]); model.intyp = new ScilabDouble([1]); |