quantastica / quantum-circuit

Quantum Circuit Simulator implemented in JavaScript
MIT License
243 stars 47 forks source link

Variables are not defined before use #14

Closed tat757 closed 5 years ago

tat757 commented 5 years ago

qWireY, qGateY, cWireY in QuantumCircuit class are never defined before use. This is causing error when building the package.

They could be fixed by adding var before qWireY, qGateY, cWireY at line 7445, line 7449, line 7453 in /dist/quantum-circuit.js file

perak commented 5 years ago

@tat757 this is fixed now.

Thank you for reporting!