diff options
Diffstat (limited to 'GateAnd.cpp')
-rw-r--r-- | GateAnd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GateAnd.cpp b/GateAnd.cpp index d14d7f6..487f8bc 100644 --- a/GateAnd.cpp +++ b/GateAnd.cpp @@ -9,7 +9,7 @@ SignalLevel GateAnd::level() { if (this->inputs.size() < 1) throw CircuitException("AndGate input size error"); for (int i = 0; i < this->inputs.size(); i++){ - SignalLevel l this->inputs[i]->getLevel(); + SignalLevel l = this->inputs[i]->getLevel(); if (l == UNDEFINED) return UNDEFINED; if (l == LOW) return LOW; |