Skip to content

bugfix: recognize single layer as first and last#21

Open
ligerlac wants to merge 1 commit intoFelix-Petersen:mainfrom
ligerlac:bugfix-single-gate-compilation
Open

bugfix: recognize single layer as first and last#21
ligerlac wants to merge 1 commit intoFelix-Petersen:mainfrom
ligerlac:bugfix-single-gate-compilation

Conversation

@ligerlac
Copy link

This fixes a bug where nested if statements in the c code generation of CompiledLogicNet did not check if the last layer was also the first layer, leading to missing variable declarations in the case of single-layer networks. Solves #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant