Merge pull request #4350 from akva2/pinchmode_enum_class

adjust to PinchMode now being an enum class
This commit is contained in:
Bård Skaflestad 2023-01-05 16:44:28 +01:00 committed by GitHub
commit 0c07e27d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,7 +216,7 @@ update(bool global, const std::function<unsigned int(unsigned int)>& map)
bool useSmallestMultiplier;
if (comm.rank() == 0) {
const auto& eclGrid = eclState_.getInputGrid();
useSmallestMultiplier = eclGrid.getMultzOption() == PinchMode::ModeEnum::ALL;
useSmallestMultiplier = eclGrid.getMultzOption() == PinchMode::ALL;
}
if (global && comm.size() > 1) {
comm.broadcast(&useSmallestMultiplier, 1, 0);