Small Fix: Print name of identifier
This commit is contained in:
parent
76815d0407
commit
79743dd7c7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user