Fix the typo in initiating NumberFn

Fix the typo in initiating NumberFn - the original init function only loaded the FIRST argument i times into the requests.
This commit is contained in:
Toby Li 2019-06-11 22:44:02 -04:00 committed by GitHub
parent 1cec9ea0ab
commit 7a99ed06bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ public class NumberFn extends SemanticFn {
if (tree.children.size() > 1) {
requests = new ArrayList<String>();
for (int i = 1; i < tree.children.size(); i++)
requests.add(tree.child(1).value);
requests.add(tree.child(i).value);
}
}