Skip to content

Commit

Permalink
Bug: smspec_node need nums was called incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
joakim-hove authored and markusdregi committed Mar 26, 2019
1 parent 785b800 commit 853d355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ecl/ecl_smspec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ static const ecl::smspec_node * ecl_smspec_insert_node(ecl_smspec_type * ecl_sms
ecl_smspec_install_gen_keys( ecl_smspec, *smspec_node.get() );
ecl_smspec_install_special_keys( ecl_smspec, *smspec_node.get() );

if (smspec_node_need_nums( &smspec_node ))
if (smspec_node->need_nums())
ecl_smspec->need_nums = true;

ecl_smspec->smspec_nodes.push_back(std::move(smspec_node));
Expand Down

0 comments on commit 853d355

Please sign in to comment.