Skip to content

Commit

Permalink
Update symbolic.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen committed May 29, 2018
1 parent 3ed0329 commit ac1240c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nnvm/src/core/symbolic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ void Symbol::Compose(const array_view<const Symbol*>& args,
};
DFSVisit(this->outputs, find_replace_map);

if (nmatched == kwargs.size() && arg_counter < args.size()) {
if (nmatched == kwargs.size() && arg_counter <= args.size()) {
std::vector<Node*> update_nodes;
std::vector<std::pair<NodeEntry*, const NodeEntry*> > replace_plan;
auto find_replace_plan = [&replace_map, &replace_plan, &update_nodes]
Expand Down

0 comments on commit ac1240c

Please sign in to comment.