aboutsummaryrefslogtreecommitdiff
path: root/GateOr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'GateOr.cpp')
-rw-r--r--GateOr.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/GateOr.cpp b/GateOr.cpp
index db1e04a..0aafe50 100644
--- a/GateOr.cpp
+++ b/GateOr.cpp
@@ -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);
}
-