diff options
Diffstat (limited to 'js/Linear/SAMPLEHOLD_f.js')
-rw-r--r-- | js/Linear/SAMPLEHOLD_f.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Linear/SAMPLEHOLD_f.js b/js/Linear/SAMPLEHOLD_f.js index 916f2834..9ad513d1 100644 --- a/js/Linear/SAMPLEHOLD_f.js +++ b/js/Linear/SAMPLEHOLD_f.js @@ -11,6 +11,7 @@ function SAMPLEHOLD_f() { model.dep_ut = [true,false]; gr_i = []; this.x = standard_define([2,2],model," ",gr_i); + return new BasicBlock(this.x); } SAMPLEHOLD_f.prototype.details = function SAMPLEHOLD_f() { return this.x; @@ -20,5 +21,6 @@ function SAMPLEHOLD_f() { SAMPLEHOLD_f.prototype.set = function SAMPLEHOLD_f() { this.x = arg1; this.x.model.firing = []; + return new BasicBlock(this.x); } } |