Skip to content

Commit 30faaba

Browse files
committed
make variables const
1 parent e6e4fb7 commit 30faaba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

components/eam/src/physics/crm/pam/pam_variance_transport.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ inline void pam_variance_transport_diagnose( pam::PamCoupler &coupler ) {
3636
auto ny = coupler.get_option<int>("crm_ny");
3737
auto nx = coupler.get_option<int>("crm_nx");
3838
//------------------------------------------------------------------------------------------------
39-
auto temp = dm_device.get<real,4>("temp" );
40-
auto rhov = dm_device.get<real,4>("water_vapor");
41-
auto rhoc = dm_device.get<real,4>("cloud_water");
42-
auto rhoi = dm_device.get<real,4>("ice" );
43-
auto uvel = dm_device.get<real,4>("uvel" );
39+
auto temp = dm_device.get<real const,4>("temp" );
40+
auto rhov = dm_device.get<real const,4>("water_vapor");
41+
auto rhoc = dm_device.get<real const,4>("cloud_water");
42+
auto rhoi = dm_device.get<real const,4>("ice" );
43+
auto uvel = dm_device.get<real const,4>("uvel" );
4444
auto vt_temp = dm_device.get<real,2>("vt_temp" );
4545
auto vt_rhov = dm_device.get<real,2>("vt_rhov" );
4646
auto vt_uvel = dm_device.get<real,2>("vt_uvel" );

0 commit comments

Comments
 (0)