diff --git a/src/circuit.js b/src/circuit.js index 91a0124..1db9f4b 100644 --- a/src/circuit.js +++ b/src/circuit.js @@ -128,7 +128,7 @@ module.exports = class Circuit { getSignalIdx(name) { if (typeof(this.signalName2Idx[name]) != "undefined") return this.signalName2Idx[name]; if (!isNaN(name)) return Number(name); - throw new Error("Invalid signal identifier: ", name); + throw new Error("Invalid signal identifier: "+ name); } // returns the index of the i'th output