Skip to content

Commit 1c298d0

Browse files
committed
Expand XSB indexing statements to allow empty tuple-element sequences
1 parent 94ad937 commit 1c298d0

File tree

1 file changed

+1
-1
lines changed
  • PSOATransRun/src/main/java/org/ruleml/psoa/psoatransrun/prolog

1 file changed

+1
-1
lines changed

PSOATransRun/src/main/java/org/ruleml/psoa/psoatransrun/prolog/XSBEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public void loadKB(String kb) {
129129
writer.println(":- index prdsloterm/4-3.");
130130

131131
// Assume a maximum tuple length of 10
132-
for (int i = 2; i < 12; i++)
132+
for (int i = 1; i < 12; i++)
133133
{
134134
writer.println(":- table(tupterm/" + i + ").");
135135
writer.println(":- table(prdtupterm/" + (i + 1) + ").");

0 commit comments

Comments
 (0)