Skip to content

Commit e0e06cd

Browse files
committed
Fix mutator in onnx_converter.cc.
1 parent 90cb5b4 commit e0e06cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/onnx/onnx_converter.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ Halide::Expr inline_func_call(Halide::Expr e) {
5555
FuncCallInliner inliner;
5656

5757
Halide::Expr r_old = Halide::Internal::simplify(e);
58-
Halide::Expr r = inliner.mutate(r_old);
58+
Halide::Expr r = inliner(r_old);
5959

6060
while (!r.same_as(r_old)) {
6161
r_old = Halide::Internal::simplify(r);
62-
r = inliner.mutate(r_old);
62+
r = inliner(r_old);
6363
}
6464

6565
return r;

0 commit comments

Comments
 (0)