diff options
Diffstat (limited to 'js/Electrical/Ground.js')
-rw-r--r-- | js/Electrical/Ground.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Electrical/Ground.js b/js/Electrical/Ground.js index 789de6c8..69ab7bc0 100644 --- a/js/Electrical/Ground.js +++ b/js/Electrical/Ground.js @@ -16,6 +16,7 @@ function Ground() { this.x = standard_define([1,1],model,exprs,list(gr_i,0)); this.x.graphics.in_implicit = ["I"]; this.x.graphics.out_implicit = ["I"]; + return new BasicBlock(this.x); } Ground.prototype.details = function Ground() { return this.x; @@ -24,5 +25,6 @@ function Ground() { } Ground.prototype.set = function Ground() { this.x = arg1; + return new BasicBlock(this.x); } } |