From 0bfd93150f77bf63a9ec22f253164d1e3dfd588f Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Sun, 5 Mar 2023 23:04:17 -0300 Subject: [PATCH 1/2] update facts and rules recursively --- src/lib/knowledge_base.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/knowledge_base.cpp b/src/lib/knowledge_base.cpp index 36e250e..0698b4b 100644 --- a/src/lib/knowledge_base.cpp +++ b/src/lib/knowledge_base.cpp @@ -250,6 +250,7 @@ void obelisk::KnowledgeBase::checkRule(obelisk::Fact& fact) auto updateFact = rule.getFact(); updateFact.setIsTrue(1.0); updateFact.updateIsTrue(dbConnection_); + checkRule(updateFact); } } } From 04902214b7cc7cf5975cfacc4dd0e5504d17dd88 Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Sun, 5 Mar 2023 23:05:18 -0300 Subject: [PATCH 2/2] prepare 1.0.2 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 0bae484..db81370 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project('obelisk', 'c', 'cpp', - version : '1.0.1', + version : '1.0.2', license : 'BSD-3-Clause', default_options : [ 'warning_level=3',