Skip to content

Commit

Permalink
remove cerr
Browse files Browse the repository at this point in the history
  • Loading branch information
MarisaKirisame committed Feb 25, 2020
1 parent 26153af commit fe7ae52
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/relay/pass/match_exhaustion.cc
Original file line number Diff line number Diff line change
Expand Up @@ -277,14 +277,8 @@ Array<Pattern> UnmatchedCases(const Match& match, const IRModule& mod) {

Array<Pattern> failures;

size_t counter = 0;
while (!candidates.empty()) {
counter++;
Pattern cand = candidates.top();
if (counter == 100) {
CHECK(false);
}
std::cerr << candidates.size () << AsText(cand) << std::endl;
candidates.pop();

bool failure = true;
Expand All @@ -301,7 +295,6 @@ Array<Pattern> UnmatchedCases(const Match& match, const IRModule& mod) {
if (check == MatchResult::kUnspecified) {
auto new_candidates = ExpandWildcards(clause->lhs, cand, mod);
for (auto candidate : new_candidates) {
std::cerr << "new_candidate" << candidate << std::endl;
candidates.push(candidate);
}
}
Expand Down

0 comments on commit fe7ae52

Please sign in to comment.