diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-16 09:21:18 +0200 |
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-16 09:21:18 +0200 |
| commit | 3cf454ef959b36f90803fb63fcb2fe26b85335a0 (patch) | |
| tree | 24f7c2f2f71190918aa14a416902fb2743bf3493 /Node.h | |
| parent | bdb2d85a244b5ebb462c8b9763a3b539b0cc68f3 (diff) | |
better errors + fix min/max input shit
Diffstat (limited to 'Node.h')
| -rw-r--r-- | Node.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |