aboutsummaryrefslogtreecommitdiff
path: root/GateNot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'GateNot.cpp')
-rw-r--r--GateNot.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/GateNot.cpp b/GateNot.cpp
index a29744f..04e701d 100644
--- a/GateNot.cpp
+++ b/GateNot.cpp
@@ -9,8 +9,12 @@ SignalLevel GateNot::level() {
return UNDEFINED;
}
-GateNot::GateNot(const GateNot * prototype) : Node() { }
+GateNot::GateNot(const GateNot * prototype) : Node() {
+ this->min_inputs = 1;
+ this->max_inputs = 1;
+}
GateNot * GateNot::clone() const {
return new GateNot(this);
}
+