summaryrefslogtreecommitdiff
path: root/js/Threshold/NEGTOPOS_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Threshold/NEGTOPOS_f.js')
-rw-r--r--js/Threshold/NEGTOPOS_f.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Threshold/NEGTOPOS_f.js b/js/Threshold/NEGTOPOS_f.js
index 5c9b4ae1..f9135d94 100644
--- a/js/Threshold/NEGTOPOS_f.js
+++ b/js/Threshold/NEGTOPOS_f.js
@@ -12,6 +12,7 @@ function NEGTOPOS_f() {
model.dep_ut = [true,false];
gr_i = [];
this.x = standard_define([2,2],model,[],gr_i);
+ return new BasicBlock(this.x);
}
NEGTOPOS_f.prototype.details = function NEGTOPOS_f() {
return this.x;
@@ -21,5 +22,6 @@ function NEGTOPOS_f() {
NEGTOPOS_f.prototype.set = function NEGTOPOS_f() {
this.x = arg1;
this.x.model.firing = -1;
+ return new BasicBlock(this.x);
}
}