feature/fix_recursive_rules #22
@ -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',
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user