mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 23:20:12 -05:00
simplify: no reason to explicitly make pair
This commit is contained in:
1 parent
04c1b8494f
commit
d5b8c968e1
1 file changed
+3
-3
@@ -156,15 +156,15 @@ allocate(const std::size_t reportStepNum)
|
||||
const std::size_t index = connection.global_index();
|
||||
|
||||
if (FluidSystem::phaseIsActive(oilPhaseIdx)) {
|
||||
oilConnectionPressures_.emplace(std::make_pair(index, 0.0));
|
||||
oilConnectionPressures_.emplace(index, 0.0);
|
||||
}
|
||||
|
||||
if (FluidSystem::phaseIsActive(waterPhaseIdx)) {
|
||||
waterConnectionSaturations_.emplace(std::make_pair(index, 0.0));
|
||||
waterConnectionSaturations_.emplace(index, 0.0);
|
||||
}
|
||||
|
||||
if (FluidSystem::phaseIsActive(gasPhaseIdx)) {
|
||||
gasConnectionSaturations_.emplace(std::make_pair(index, 0.0));
|
||||
gasConnectionSaturations_.emplace(index, 0.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user