using logical AND instead of bit-wise AND

overlooking when reviewing PR#5861
This commit is contained in:
Kai Bao 2025-01-22 13:12:48 +01:00
parent 939e6f3a6c
commit 8b5ce37780

View File

@ -258,7 +258,7 @@ loadRestartData(const data::Wells& rst_wells,
{ {
const auto& well_name = well_state.name(well_index); const auto& well_name = well_state.name(well_index);
this->loadRestartWellData(well_name, handle_ms_well & !well_state.is_permanently_inactive_well(well_name), phs, this->loadRestartWellData(well_name, handle_ms_well && !well_state.is_permanently_inactive_well(well_name), phs,
rst_wells.at(well_name), rst_wells.at(well_name),
wellModel_.perfData(well_index), wellModel_.perfData(well_index),
well_state.well(well_index)); well_state.well(well_index));