summaryrefslogtreecommitdiff
path: root/js/IntegerOp
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp')
-rw-r--r--js/IntegerOp/DFLIPFLOP.js2
-rw-r--r--js/IntegerOp/DLATCH.js2
-rw-r--r--js/IntegerOp/INTMUL.js2
-rw-r--r--js/IntegerOp/JKFLIPFLOP.js2
-rw-r--r--js/IntegerOp/LOGIC.js2
-rw-r--r--js/IntegerOp/SRFLIPFLOP.js2
6 files changed, 6 insertions, 6 deletions
diff --git a/js/IntegerOp/DFLIPFLOP.js b/js/IntegerOp/DFLIPFLOP.js
index 08cf972a..e07adda8 100644
--- a/js/IntegerOp/DFLIPFLOP.js
+++ b/js/IntegerOp/DFLIPFLOP.js
@@ -78,7 +78,7 @@ function DFLIPFLOP() {
scs_m.objs[44-1] = scicos_link(xx=[[279.98293],[279.98293],[325.53038],[325.53038]],yy=[[372.50232],[315.89455],[315.89455],[299.28749]],id="drawlink",thick=[0,0],ct=[5,-1],from=[2,2,0],to=[32,2,1]);
this.model = scicos_model();
this.model.sim = new ScilabString(["csuper"]);
- this.model.in1 = [[1],[1],[1]];
+ this.model.in1 = new ScilabDouble([1],[1],[1]);
this.model.in2 = new ScilabDouble([1],[1],[1]);
this.model.out = new ScilabDouble([1],[1]);
this.model.out2 = new ScilabDouble([1],[1]);
diff --git a/js/IntegerOp/DLATCH.js b/js/IntegerOp/DLATCH.js
index ee249fb4..ac4afc92 100644
--- a/js/IntegerOp/DLATCH.js
+++ b/js/IntegerOp/DLATCH.js
@@ -23,7 +23,7 @@ function DLATCH() {
scs_m.objs[19-1] = scicos_link(xx=[[305.09603],[325.09603]],yy=[[280.83282],[280.83282]],id="drawlink",thick=[0,0],ct=[1,1],from=[10,2,0],to=[18,1,1]);
this.model = scicos_model();
this.model.sim = new ScilabString(["csuper"]);
- this.model.in1 = [[1],[1]];
+ this.model.in1 = new ScilabDouble([1],[1]);
this.model.in2 = new ScilabDouble([1],[1]);
this.model.out = new ScilabDouble([1],[1]);
this.model.out2 = new ScilabDouble([1],[1]);
diff --git a/js/IntegerOp/INTMUL.js b/js/IntegerOp/INTMUL.js
index ac189f0f..375723a6 100644
--- a/js/IntegerOp/INTMUL.js
+++ b/js/IntegerOp/INTMUL.js
@@ -4,7 +4,7 @@ function INTMUL() {
sgn = 0;
this.model = scicos_model();
this.model.sim = list(new ScilabString(["matmul_i32"]), new ScilabDouble([4]));
- this.model.in1 = [[-1],[-2]];
+ this.model.in1 = new ScilabDouble([-1],[-2]);
this.model.out = new ScilabDouble([-1]);
this.model.in2 = new ScilabDouble([-2],[-3]);
this.model.out2 = new ScilabDouble([-3]);
diff --git a/js/IntegerOp/JKFLIPFLOP.js b/js/IntegerOp/JKFLIPFLOP.js
index 9f677d25..6fbf4a6a 100644
--- a/js/IntegerOp/JKFLIPFLOP.js
+++ b/js/IntegerOp/JKFLIPFLOP.js
@@ -34,7 +34,7 @@ function JKFLIPFLOP() {
scs_m.objs[22-1] = scicos_link(xx=[[446.2036],[466.2036]],yy=[[179.25363],[179.25363]],id="drawlink",thick=[0,0],ct=[1,1],from=[9,1,0],to=[21,1,1]);
this.model = scicos_model();
this.model.sim = new ScilabString(["csuper"]);
- this.model.in1 = [[1],[1],[1]];
+ this.model.in1 = new ScilabDouble([1],[1],[1]);
this.model.in2 = new ScilabDouble([1],[1],[1]);
this.model.out = new ScilabDouble([1],[1]);
this.model.out2 = new ScilabDouble([1],[1]);
diff --git a/js/IntegerOp/LOGIC.js b/js/IntegerOp/LOGIC.js
index 362462ee..98689ead 100644
--- a/js/IntegerOp/LOGIC.js
+++ b/js/IntegerOp/LOGIC.js
@@ -4,7 +4,7 @@ function LOGIC() {
this.mat = [[0],[0],[0],[1]];
this.model = scicos_model();
this.model.sim = list(new ScilabString(["logic"]), new ScilabDouble([4]));
- this.model.in1 = [[1],[1]];
+ this.model.in1 = new ScilabDouble([1],[1]);
this.model.in2 = new ScilabDouble([1],[1]);
this.model.out = new ScilabDouble([1]);
this.model.out2 = new ScilabDouble([1]);
diff --git a/js/IntegerOp/SRFLIPFLOP.js b/js/IntegerOp/SRFLIPFLOP.js
index 4b222944..603bf152 100644
--- a/js/IntegerOp/SRFLIPFLOP.js
+++ b/js/IntegerOp/SRFLIPFLOP.js
@@ -18,7 +18,7 @@ function SRFLIPFLOP() {
scs_m.objs[14-1] = scicos_link(xx=[[363.03733],[383.03733]],yy=[[248.584],[248.584]],id="drawlink",thick=[0,0],ct=[1,1],from=[5,2,0],to=[13,1,1]);
this.model = scicos_model();
this.model.sim = new ScilabString(["csuper"]);
- this.model.in1 = [[1],[1]];
+ this.model.in1 = new ScilabDouble([1],[1]);
this.model.in2 = new ScilabDouble([1],[1]);
this.model.out = new ScilabDouble([1],[1]);
this.model.out2 = new ScilabDouble([1],[1]);