summaryrefslogtreecommitdiff
path: root/data_structures_correct
diff options
context:
space:
mode:
authorASP12342016-07-09 09:20:12 +0000
committerASP12342016-07-09 09:20:12 +0000
commit97fd1045b4d52d8fe6751ef64972b99b5bf7008d (patch)
treed185f9b7e4946afc71efb10356c539c7547535bb /data_structures_correct
parent759f1602d493b6be76a9ff23d0e5740c11481a60 (diff)
downloadxcos-on-web-97fd1045b4d52d8fe6751ef64972b99b5bf7008d.tar.gz
xcos-on-web-97fd1045b4d52d8fe6751ef64972b99b5bf7008d.tar.bz2
xcos-on-web-97fd1045b4d52d8fe6751ef64972b99b5bf7008d.zip
Fix BARXY Block
Diffstat (limited to 'data_structures_correct')
-rw-r--r--data_structures_correct/BARXY.js2
-rw-r--r--data_structures_correct/MATZREIM.js5
2 files changed, 2 insertions, 5 deletions
diff --git a/data_structures_correct/BARXY.js b/data_structures_correct/BARXY.js
index 51d9dfc..a7ca0f1 100644
--- a/data_structures_correct/BARXY.js
+++ b/data_structures_correct/BARXY.js
@@ -15,7 +15,7 @@ function BARXY() {
model.intyp = new ScilabDouble([1]);
model.out = new ScilabDouble();
model.evtin = new ScilabDouble([1]);
- model.rpar = new ScilabDouble([xmin], [xmax], [ymin], [ymax]);
+ model.rpar = new ScilabDouble([this.xmin], [this.xmax], [this.ymin], [this.ymax]);
model.ipar = new ScilabDouble([1]);
this.x = new standard_define(new ScilabDouble([2, 2]), model, [], []);
this.x.graphics.in_implicit = new ScilabString(["E", , "E"]);
diff --git a/data_structures_correct/MATZREIM.js b/data_structures_correct/MATZREIM.js
index 5d151c3..0d7c68c 100644
--- a/data_structures_correct/MATZREIM.js
+++ b/data_structures_correct/MATZREIM.js
@@ -1,11 +1,8 @@
function MATZREIM() {
MATZREIM.prototype.define = function MATZREIM() {
-
-
var model = scicos_model();
-
+
this.function_name = "matz_reim";
-
this.funtyp = new ScilabDouble([4]);
model.sim = list(this.function_name, this.funtyp);
model.in = new ScilabDouble([-1]);