Skip to content

Commit cfe8287

Browse files
committed
add constexpr.
1 parent e82f1fc commit cfe8287

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/reactions/bulkGeneric/ParametersPredefined.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ constexpr CArrayWrapper<double, 11> reverseRates =
140140
// 1 // Ca(OH)2​(s) + 2H+ = Ca2+ + 2H2​O (kinetic)
141141
};
142142

143-
carbonateSystemAllKineticType carbonateSystemAllKinetic( stoichMatrix, equilibriumConstants, forwardRates, reverseRates );
144-
carbonateSystemAllEquilibriumType carbonateSystemAllEquilibrium( stoichMatrix, equilibriumConstants, forwardRates, reverseRates );
145-
carbonateSystemType carbonateSystem( stoichMatrix, equilibriumConstants, forwardRates, reverseRates );
143+
constexpr carbonateSystemAllKineticType carbonateSystemAllKinetic( stoichMatrix, equilibriumConstants, forwardRates, reverseRates );
144+
constexpr carbonateSystemAllEquilibriumType carbonateSystemAllEquilibrium( stoichMatrix, equilibriumConstants, forwardRates, reverseRates );
145+
constexpr carbonateSystemType carbonateSystem( stoichMatrix, equilibriumConstants, forwardRates, reverseRates );
146146

147147
// *****UNCRUSTIFY-ON******
148148
} // namespace bulkGeneric

0 commit comments

Comments
 (0)