diff options
author | UnavailableDev <69792062+UnavailableDev@users.noreply.github.com> | 2024-06-12 20:06:48 +0200 |
---|---|---|
committer | UnavailableDev <69792062+UnavailableDev@users.noreply.github.com> | 2024-06-12 20:06:48 +0200 |
commit | f1de485461b4cbb5dda4705323b416abec39b574 (patch) | |
tree | d8754423e16e87b299fdd747f7490d3e1f756474 /GateOr.cpp | |
parent | 50d3fb09278d57b5a35e15074cc025a62476c5a7 (diff) | |
parent | 26a7c785113e4e8343685b33d8ac4aa2023380f3 (diff) |
Merge remote-tracking branch 'origin/node'
Diffstat (limited to 'GateOr.cpp')
-rw-r--r-- | GateOr.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -3,8 +3,6 @@ GateOr GateOr::instance(GateOr::type); SignalLevel GateOr::level() { - if (this->inputs.size() < 1) throw CircuitException("Or-gate input size error"); - SignalLevel new_level = LOW; for (int i = 0; i < this->inputs.size(); i++){ SignalLevel l = this->inputs[i]->getLevel(); @@ -20,4 +18,3 @@ GateOr::GateOr(const GateOr * prototype) : Node() { } GateOr * GateOr::clone() const { return new GateOr(this); } - |