fix issue, thanks for pointing it out in your homework!

This commit is contained in:
Dominic 2019-12-06 17:20:40 +01:00
parent c74d331b66
commit cc5705fc23
Signed by: msrd0
GPG key ID: DCC8C247452E98F9

View file

@ -126,7 +126,7 @@ public class BoolTreeNode
// negationsknoten
if (!child1.isNegation())
return false;
return child1.removeDoubleNegations();
BoolTreeNode grandchild = child1.child1;
variable = grandchild.variable;
child1 = grandchild.child1;