Skip to content
Snippets Groups Projects
Commit 6c8b0ea1 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Changed constexpr in const, otherwise clang complained with an error.

(reviewed by pnuske, I toke note of the protest)


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@9223 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 1e449322
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ public:
constexpr Scalar p_crit = criticalPressure();
// Chen method, eq. 7-11.4 (at boiling)
constexpr Scalar DH_v_boil = Consts::R * T_crit * Tr1
const Scalar DH_v_boil = Consts::R * T_crit * Tr1
* (3.978 * Tr1 - 3.958 + 1.555*std::log(p_crit * 1e-5 /*Pa->bar*/ ) )
/ (1.07 - Tr1); /* [J/mol] */
......
......@@ -188,7 +188,7 @@ public:
constexpr Scalar p_crit = criticalPressure();
// Chen method, eq. 7-11.4 (at boiling)
constexpr Scalar DH_v_boil = Consts::R * T_crit * Tr1
const Scalar DH_v_boil = Consts::R * T_crit * Tr1
* (3.978 * Tr1 - 3.958 + 1.555*std::log(p_crit * 1e-5 /*Pa->bar*/ ) )
/ (1.07 - Tr1); /* [J/mol] */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment