adjust to PinchMode now being an enum class

This commit is contained in:
Arne Morten Kvarving 2023-01-05 14:26:17 +01:00
parent 716ea14cb0
commit e3a4c70da9

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);