changeset 1656:d8e5b2232474

bugfix for simple (no arg lists) functions not evaluating
author drewp@bigasterisk.com
date Sun, 19 Sep 2021 13:22:29 -0700
parents 15e195fb24bb
children 274bb6c04627
files service/mqtt_to_rdf/inference.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/service/mqtt_to_rdf/inference.py	Sun Sep 19 13:21:33 2021 -0700
+++ b/service/mqtt_to_rdf/inference.py	Sun Sep 19 13:22:29 2021 -0700
@@ -198,7 +198,7 @@
             stats['staticStmtCulls'] += 1
             return
 
-        if not self.graph.patternChunks:
+        if not self.graph.patternChunks and not self.graph.chunksUsedByFuncs:
             # static only
             yield BoundLhs(self, CandidateBinding({}))
             return