From 07a9675b5e9ca9c61b17183486cbd3a257afa829 Mon Sep 17 00:00:00 2001 From: AMIT KUMAR YADAV Date: Tue, 28 Jun 2016 15:48:44 +0530 Subject: Implement CUMSUM block --- data_structures_correct/CUMSUM.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data_structures_correct/CUMSUM.js') 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]); -- cgit