projects
/
platform
/
upstream
/
tvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
008aa83
)
Fix typo in err msg (#4251)
author
XFPlus
<xfly.plus@gmail.com>
Mon, 4 Nov 2019 16:03:42 +0000
(
00:03
+0800)
committer
Tianqi Chen
<tqchen@users.noreply.github.com>
Mon, 4 Nov 2019 16:03:42 +0000
(08:03 -0800)
src/relay/pass/type_infer.cc
patch
|
blob
|
history
diff --git
a/src/relay/pass/type_infer.cc
b/src/relay/pass/type_infer.cc
index
c1d1a66
..
bc84bdd
100644
(file)
--- a/
src/relay/pass/type_infer.cc
+++ b/
src/relay/pass/type_infer.cc
@@
-315,7
+315,7
@@
class TypeInferencer : private ExprFunctor<Type(const Expr&)>,
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,