Update let_list.h (#2987)
author雾雨魔理沙 <lolisa@marisa.moe>
Tue, 9 Apr 2019 18:49:16 +0000 (11:49 -0700)
committerTianqi Chen <tqchen@users.noreply.github.com>
Tue, 9 Apr 2019 18:49:16 +0000 (11:49 -0700)
src/relay/pass/let_list.h

index 293f889..bd36a15 100644 (file)
@@ -81,7 +81,7 @@ class LetList {
    *  \return a Var that hold the inserted expr.
    */
   Var Push(Expr expr) {
-    return Push(IncompleteTypeNode::make(Kind::kType), expr);
+    return Push(Type(), expr);
   }
 
   /*!