Skip to content

Commit 1114197

Browse files
Merge pull request #394 from Infinoid/fix-bound-bug
Fix a bug in CLI parsing of bound()
2 parents 7934f77 + 65b0b2f commit 1114197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/taco.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ static bool setSchedulingCommands(vector<vector<string>> scheduleCommands, parse
443443
stmt = stmt.reorder(reorderedVars);
444444

445445
} else if (command == "bound") {
446-
taco_uassert(scheduleCommand.size() == 2) << "'bound' scheduling directive takes 4 parameters: bound(i, i1, bound, type)";
446+
taco_uassert(scheduleCommand.size() == 4) << "'bound' scheduling directive takes 4 parameters: bound(i, i1, bound, type)";
447447
string i, i1, type;
448448
size_t bound;
449449
i = scheduleCommand[0];

0 commit comments

Comments
 (0)