Merge pull request 'develop' (#23) from develop into master

Reviewed-on: #23
This commit is contained in:
Chris Cromer 2023-03-05 23:06:26 -03:00
commit bdc69ceea7
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
project('obelisk', project('obelisk',
'c', 'c',
'cpp', 'cpp',
version : '1.0.1', version : '1.0.2',
license : 'BSD-3-Clause', license : 'BSD-3-Clause',
default_options : [ default_options : [
'warning_level=3', 'warning_level=3',

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);
} }
} }
} }