Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit f4c4fc2

Browse files
Merge pull request #278 from facebookresearch/pr/parameter_values
Scop::makeContextFromInputs: fix check for fixed parameter values
2 parents e17e36e + 4bb025c commit f4c4fc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core/polyhedral/scop.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,8 @@ isl::set Scop::makeContextFromInputs(
324324
paramSet & (isl::aff_set(parametricAff) == inputs[i]->shape[j]);
325325
}
326326
}
327-
CHECK(paramSet.is_singleton()) << "could not infer the values of parameters";
327+
CHECK(paramSet.is_equal(paramSet.sample()))
328+
<< "could not infer the values of parameters";
328329
return paramSet;
329330
}
330331

0 commit comments

Comments
 (0)