aboutsummaryrefslogtreecommitdiff
path: root/Node.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-16 09:21:18 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-16 09:21:18 +0200
commit3cf454ef959b36f90803fb63fcb2fe26b85335a0 (patch)
tree24f7c2f2f71190918aa14a416902fb2743bf3493 /Node.h
parentbdb2d85a244b5ebb462c8b9763a3b539b0cc68f3 (diff)
better errors + fix min/max input shit
Diffstat (limited to 'Node.h')
-rw-r--r--Node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Node.h b/Node.h
index 64c5b2b..9685141 100644
--- a/Node.h
+++ b/Node.h
@@ -33,7 +33,7 @@ protected:
Net * output = nullptr;
protected:
- int min_inputs = 1;
+ int min_inputs = 2; // at least 2 inputs for most gates
int max_inputs = -1; // unlimited
public: