mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-15 02:12:02 -05:00
adjust to PinchMode now being an enum class
This commit is contained in:
1 parent
716ea14cb0
commit
e3a4c70da9
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user