Skip to content

Commit

Permalink
CartesianGridXYStaggered: fix cellDimensions function declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
andresailer authored Sep 19, 2023
1 parent 4aec387 commit dccd89f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions DDCore/src/segmentations/CartesianGridXYStaggered.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,8 @@ Vector3D CartesianGridXYStaggered::position(const CellID& cID) const {
}


#if __cplusplus >= 201103L
std::vector<double> cellDimensions(const CellID& cellID) const {
return {_gridSizeX, _gridSizeY};
#else
std::vector<double> cellDims(2,0.0);
cellDims[0] = _gridSizeX;
cellDims[1] = _gridSizeY;
return cellDims;
#endif
}


Expand Down

0 comments on commit dccd89f

Please sign in to comment.