feature/fix_recursive_rules #22

Merged
cromer merged 2 commits from feature/fix_recursive_rules into develop 2023-03-05 23:06:03 -03:00
Showing only changes of commit 0bfd93150f - Show all commits

View File

@ -250,6 +250,7 @@ void obelisk::KnowledgeBase::checkRule(obelisk::Fact& fact)
auto updateFact = rule.getFact(); auto updateFact = rule.getFact();
updateFact.setIsTrue(1.0); updateFact.setIsTrue(1.0);
updateFact.updateIsTrue(dbConnection_); updateFact.updateIsTrue(dbConnection_);
checkRule(updateFact);
} }
} }
} }