We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d977eaf commit a11efdcCopy full SHA for a11efdc
src/mam4xx/mo_chm_diags.hpp
@@ -254,7 +254,7 @@ void chm_diags(
254
255
for (int mm = 0; mm < gas_pcnst; mm++) {
256
// other options of species are not used, only use weight=1
257
- const Real wgt = 1;
+ constexpr Real wgt = 1;
258
259
for (int i = 0; i < 3; i++) { // FIXME: bad constant (len of sox species)
260
if (sox_species[i] == mm) {
@@ -300,7 +300,7 @@ void chm_diags(
300
Kokkos::TeamVectorRange(team, gas_pcnst_local),
301
[&](int mm, Real &update) {
302
303
304
for (int i = 0; i < 3;
305
i++) { // FIXME: bad constant (len of sox species)
306
0 commit comments