Skip to content

Commit ac1240c

Browse files
committed
Update symbolic.cc
1 parent 3ed0329 commit ac1240c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nnvm/src/core/symbolic.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ void Symbol::Compose(const array_view<const Symbol*>& args,
346346
};
347347
DFSVisit(this->outputs, find_replace_map);
348348

349-
if (nmatched == kwargs.size() && arg_counter < args.size()) {
349+
if (nmatched == kwargs.size() && arg_counter <= args.size()) {
350350
std::vector<Node*> update_nodes;
351351
std::vector<std::pair<NodeEntry*, const NodeEntry*> > replace_plan;
352352
auto find_replace_plan = [&replace_map, &replace_plan, &update_nodes]

0 commit comments

Comments
 (0)