We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b60235a + c654165 commit d2737c1Copy full SHA for d2737c1
src/main/java/org/epistemic/Reasoner.java
@@ -77,7 +77,7 @@ public boolean WorldReasoner(RelationalFormula formula, EpistemicModel model, Wo
77
};
78
} else if (currentFormula.getClass() == imp.getClass()) {
79
imp = (Implication) currentFormula;
80
- if (!world.containsTrueFormula(imp.getFormulas().getFirst()) || world.containsTrueFormula(imp.getFormulas().getSecond())){
+ if (!(world.containsTrueFormula(imp.getFormulas().getFirst()) && !world.containsTrueFormula(imp.getFormulas().getSecond()))){
81
world.addTrueFormula(currentFormula);
82
83
} else if (currentFormula.getClass() == eq.getClass()) {
0 commit comments