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.
This commit is contained in:
1 parent
5a914a2852
commit
9dc4df625f
1 file changed
+1
-1
@@ -290,8 +290,8 @@ private:
|
||||
|
||||
// setup smart pointer for cornerpoint grid
|
||||
EclipseGrid (const int dims[],
|
||||
const EclipseKeyword<double>& coord,
|
||||
const EclipseKeyword<double>& zcorn,
|
||||
const EclipseKeyword<double>& coord,
|
||||
const EclipseKeyword<double>& actnum,
|
||||
const EclipseKeyword<double>& mapaxes)
|
||||
: EclipseHandle (ecl_grid_alloc_GRDECL_kw(dims[0],
|
||||
|
||||
Reference in new issue
Block a user