Don't immediately clear the freshly allocated geometry storage...

This commit is contained in:
Bård Skaflestad 2011-12-19 13:27:54 +01:00
parent 5610898bc9
commit 18d33a3859

View File

@ -134,8 +134,6 @@ void preprocess (const struct grdecl *in,
process_grdecl(in, tol, &pg);
ok = allocate_geometry(base);
/*
* General grid interface
*/
@ -160,6 +158,7 @@ void preprocess (const struct grdecl *in,
base->cell_centroids = NULL;
base->cell_volumes = NULL;
ok = allocate_geometry(base);
/*
* Cornerpoint grid interface