From 9004f23edff5bf5b7a2a75db7b7c96d91e0f134a Mon Sep 17 00:00:00 2001 From: tcclevenger Date: Thu, 5 Dec 2024 19:58:04 -0500 Subject: [PATCH] Fix: Add template to horiz_contraction calls --- .../eamxx_iop_forcing_process_interface.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/eamxx/src/physics/iop_forcing/eamxx_iop_forcing_process_interface.cpp b/components/eamxx/src/physics/iop_forcing/eamxx_iop_forcing_process_interface.cpp index c17f84e2b526..1543f5de63e9 100644 --- a/components/eamxx/src/physics/iop_forcing/eamxx_iop_forcing_process_interface.cpp +++ b/components/eamxx/src/physics/iop_forcing/eamxx_iop_forcing_process_interface.cpp @@ -449,17 +449,17 @@ void IOPForcing::run_impl (const double dt) view_1d qv_mean, t_mean; view_2d horiz_winds_mean; if (iop_nudge_tq){ - horiz_contraction(m_helper_fields.at("qv_mean"), get_field_out("qv"), - m_helper_fields.at("horiz_mean_weights"), &m_comm); + horiz_contraction(m_helper_fields.at("qv_mean"), get_field_out("qv"), + m_helper_fields.at("horiz_mean_weights"), &m_comm); qv_mean = m_helper_fields.at("qv_mean").get_view(); - horiz_contraction(m_helper_fields.at("t_mean"), get_field_out("T_mid"), - m_helper_fields.at("horiz_mean_weights"), &m_comm); + horiz_contraction(m_helper_fields.at("t_mean"), get_field_out("T_mid"), + m_helper_fields.at("horiz_mean_weights"), &m_comm); t_mean = m_helper_fields.at("t_mean").get_view(); } if (iop_nudge_uv){ - horiz_contraction(m_helper_fields.at("horiz_winds_mean"), get_field_out("horiz_winds"), - m_helper_fields.at("horiz_mean_weights"), &m_comm); + horiz_contraction(m_helper_fields.at("horiz_winds_mean"), get_field_out("horiz_winds"), + m_helper_fields.at("horiz_mean_weights"), &m_comm); horiz_winds_mean = m_helper_fields.at("horiz_winds_mean").get_view(); }