From: XFPlus Date: Mon, 4 Nov 2019 16:03:42 +0000 (+0800) Subject: Fix typo in err msg (#4251) X-Git-Tag: upstream/0.7.0~1696 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b053ec00fdf2f9d74a3757839de41b358517287;p=platform%2Fupstream%2Ftvm.git Fix typo in err msg (#4251) --- diff --git a/src/relay/pass/type_infer.cc b/src/relay/pass/type_infer.cc index c1d1a66..bc84bdd 100644 --- a/src/relay/pass/type_infer.cc +++ b/src/relay/pass/type_infer.cc @@ -315,7 +315,7 @@ class TypeInferencer : private ExprFunctor, ss << "match expression does not handle the following cases: "; int i = 0; for (auto cs : unmatched_cases) { - ss << "case " << i << ": \n" << PrettyPrint(cs); + ss << "case " << i++ << ": \n" << PrettyPrint(cs); } this->ReportFatalError( match,