mirror of https://github.com/percyliang/sempre
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:
parent
1cec9ea0ab
commit
7a99ed06bf
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue