Skip to content

Commit

Permalink
Update symbolic.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen committed Sep 2, 2016
1 parent ea90605 commit c80d96d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 c80d96d

Please sign in to comment.