summaryrefslogtreecommitdiff
path: root/js/Electrical/Gyrator.js
diff options
context:
space:
mode:
authorSunil Shetye2018-08-27 16:37:59 +0530
committerSunil Shetye2018-08-27 16:43:40 +0530
commit17a1beeeae647a6fbd0904a5d794ce7754df7eb2 (patch)
tree00fa7aa4da4ae6b663e4c294380b93c1b92af3eb /js/Electrical/Gyrator.js
parent8e6c876e5582928ab6909cf0f3529a97f622520d (diff)
downloadsci2js-17a1beeeae647a6fbd0904a5d794ce7754df7eb2.tar.gz
sci2js-17a1beeeae647a6fbd0904a5d794ce7754df7eb2.tar.bz2
sci2js-17a1beeeae647a6fbd0904a5d794ce7754df7eb2.zip
set the initial value of exprs
Diffstat (limited to 'js/Electrical/Gyrator.js')
-rw-r--r--js/Electrical/Gyrator.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/Electrical/Gyrator.js b/js/Electrical/Gyrator.js
index eb1b9948..6c97cfce 100644
--- a/js/Electrical/Gyrator.js
+++ b/js/Electrical/Gyrator.js
@@ -66,6 +66,7 @@ function Gyrator() {
var ok = true;
this.G1 = arguments[0]["G1"];
this.G2 = arguments[0]["G2"];
+ var exprs = [arguments[0]["G1"], arguments[0]["G2"]];
if (!ok) {
break;
}