summaryrefslogtreecommitdiff
path: root/js/Misc/scifunc_block.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/scifunc_block.js')
-rw-r--r--js/Misc/scifunc_block.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Misc/scifunc_block.js b/js/Misc/scifunc_block.js
index c491639d..50a5eb63 100644
--- a/js/Misc/scifunc_block.js
+++ b/js/Misc/scifunc_block.js
@@ -27,6 +27,7 @@ function scifunc_block() {
exprs = list([[sci2exp(in1)],[sci2exp(out)],[sci2exp(clkin)],[sci2exp(clkout)],[strcat(sci2exp(x0))],[strcat(sci2exp(z0))],[strcat(sci2exp(rpar))],[sci2exp(auto)]],list("y1=sin(u1)"," "," ","y1=sin(u1)"," "," "," "));
gr_i = [];
this.x = standard_define([2,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
scifunc_block.prototype.details = function scifunc_block() {
return this.x;
@@ -89,5 +90,6 @@ function scifunc_block() {
}
}
needcompile=resume(needcompile)
+ return new BasicBlock(this.x);
}
}