From 853d3558860b95c35b54530faf647a433bd7c963 Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Sun, 24 Mar 2019 23:05:54 +0100 Subject: [PATCH] Bug: smspec_node need nums was called incorrectly --- lib/ecl/ecl_smspec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ecl/ecl_smspec.cpp b/lib/ecl/ecl_smspec.cpp index de435a3464..1dfedee124 100644 --- a/lib/ecl/ecl_smspec.cpp +++ b/lib/ecl/ecl_smspec.cpp @@ -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));