update facts and rules recursively
This commit is contained in:
parent
d4c4d3fe75
commit
0bfd93150f
@ -250,6 +250,7 @@ void obelisk::KnowledgeBase::checkRule(obelisk::Fact& fact)
|
||||
auto updateFact = rule.getFact();
|
||||
updateFact.setIsTrue(1.0);
|
||||
updateFact.updateIsTrue(dbConnection_);
|
||||
checkRule(updateFact);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user