summaryrefslogtreecommitdiff
path: root/data_structures_correct
diff options
context:
space:
mode:
authorAvi Dutta2016-06-30 11:30:22 +0000
committerAvi Dutta2016-06-30 11:30:22 +0000
commit5e1eb97e0d215b50d3ee2fecc3e767663acb70d3 (patch)
tree174436e8dd433ca97189ce8976e5295f40955803 /data_structures_correct
parentb2e09992e1f16df0a84fdd845327135a58819ae3 (diff)
downloadxcos-on-web-5e1eb97e0d215b50d3ee2fecc3e767663acb70d3.tar.gz
xcos-on-web-5e1eb97e0d215b50d3ee2fecc3e767663acb70d3.tar.bz2
xcos-on-web-5e1eb97e0d215b50d3ee2fecc3e767663acb70d3.zip
Implement INTRPLBLK_f Block
Diffstat (limited to 'data_structures_correct')
-rw-r--r--data_structures_correct/INTRPLBLK_f.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/data_structures_correct/INTRPLBLK_f.js b/data_structures_correct/INTRPLBLK_f.js
index aece3da..6752ca8 100644
--- a/data_structures_correct/INTRPLBLK_f.js
+++ b/data_structures_correct/INTRPLBLK_f.js
@@ -1,9 +1,9 @@
function INTRPLBLK_f() {
INTRPLBLK_f.prototype.define = function INTRPLBLK_f() {
- this.a = [[0], [1]];
+ this.a = [[0],[1]];
- this.b = [[0], [1]];
+ this.b = [[0],[1]];
var model = scicos_model();
model.sim = new ScilabString(["intrpl"]);
@@ -16,7 +16,7 @@ function INTRPLBLK_f() {
var exprs = new ScilabString([sci2exp(this.a)], [sci2exp(this.b)]);
var gr_i = ["xstringb(orig(1),orig(2),\"INTRPLBLK_f\",sz(1),sz(2));"];
- this.x = new standard_define(new ScilabDouble([2, 2]), model, exprs, gr_i);
+ this.x = new standard_define(new ScilabDouble([2,2]), model, exprs, gr_i);
return new BasicBlock(this.x);
}