Commit 6b2e18ed by masahi Committed by Tianqi Chen

fix PostOrderVisit signature (#3048)

parent 4b530561
......@@ -235,7 +235,7 @@ class ExprMutator
* \param node The ir to be visited.
* \param fvisit The visitor function to be applied.
*/
void PostOrderVisit(const NodeRef& node, std::function<void(const NodeRef&)> fvisit);
void PostOrderVisit(const Expr& node, std::function<void(const Expr&)> fvisit);
/*
* \brief Bind function parameters or free variables.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment