From 9dc4df625fdd1d2abc4dc41bc12379f8d96cfe26 Mon Sep 17 00:00:00 2001 From: Roland Kaufmann Date: Wed, 6 Nov 2013 14:30:03 +0100 Subject: [PATCH] Correct parameter sequence ecl_grid_alloc_GRDECL_kw takes zcorn first, then coord (slightly unintuitive if you ask me), and this is also the order that is used in EclipseGrid::make; thus, the order should be consistent through the constructor also. --- opm/core/io/eclipse/BlackoilEclipseOutputWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/core/io/eclipse/BlackoilEclipseOutputWriter.cpp b/opm/core/io/eclipse/BlackoilEclipseOutputWriter.cpp index a949732f..66f09055 100644 --- a/opm/core/io/eclipse/BlackoilEclipseOutputWriter.cpp +++ b/opm/core/io/eclipse/BlackoilEclipseOutputWriter.cpp @@ -290,8 +290,8 @@ private: // setup smart pointer for cornerpoint grid EclipseGrid (const int dims[], - const EclipseKeyword& coord, const EclipseKeyword& zcorn, + const EclipseKeyword& coord, const EclipseKeyword& actnum, const EclipseKeyword& mapaxes) : EclipseHandle (ecl_grid_alloc_GRDECL_kw(dims[0],