mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7942 Summary Plot: Make reading of summary data file more robust
- remove the gsl::not_null for pointer to curve data - For summary cases linked to a grid model case, do not try to read the original location of file if grid file location is not valid (will happen when a project file is moved)
This commit is contained in:
2
ThirdParty/Ert/lib/ecl/ecl_grid.cpp
vendored
2
ThirdParty/Ert/lib/ecl/ecl_grid.cpp
vendored
@@ -6369,6 +6369,8 @@ static bool ecl_grid_init_coord_section__( const ecl_grid_type * grid , int i, i
|
||||
const int top_index = ecl_grid_get_top_valid_index( grid , i , j );
|
||||
const int bottom_index = ecl_grid_get_bottom_valid_index( grid , i , j );
|
||||
|
||||
// util_exit("% : no cell with a valid geometry description found in (i,j) = %d,%d - then what? \n",__func__ , i,j);
|
||||
// https://github.com/OPM/ResInsight/issues/7944
|
||||
if (top_index == -1) return false;
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user