adapt to changes in temperature location in opm-common

This commit is contained in:
Tor Harald Sandve 2022-11-11 13:19:38 +01:00
parent d8c0057601
commit 76dc8255fc

View File

@ -168,8 +168,7 @@ void WellState::initSingleInjector(const Well& well,
const SummaryState& summary_state) {
const auto& pu = this->phase_usage_;
const auto& inj_controls = well.injectionControls(summary_state);
const double temp = inj_controls.temperature;
const double temp = well.temperature();
auto& ws = this->wells_.add(well.name(), SingleWellState{well.name(), well_info, false, pressure_first_connection, well_perf_data, pu, temp});