summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data_structures_correct/CUMSUM.js2
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]);