mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2011 Update libecl to 89f6c44aa0 to fix RFT file reading and missing dyn nnc handling
This commit is contained in:
8
ThirdParty/Ert/lib/ecl/smspec_node.c
vendored
8
ThirdParty/Ert/lib/ecl/smspec_node.c
vendored
@@ -1122,6 +1122,14 @@ static int smspec_node_cmp_KEYWORD( const smspec_node_type * node1, const smspec
|
||||
}
|
||||
|
||||
static int smspec_node_cmp_key1( const smspec_node_type * node1, const smspec_node_type * node2) {
|
||||
if (!node1->gen_key1) {
|
||||
if (!node2->gen_key1)
|
||||
return 0;
|
||||
else
|
||||
return -1;
|
||||
} else if (!node2->gen_key1) {
|
||||
return 1;
|
||||
}
|
||||
return util_strcmp_int( node1->gen_key1 , node2->gen_key1 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user