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

Remove some constexpr that are not supported by GCC 4.9

Thanks Timo for the heads-up
parent 59a44911
No related branches found
No related tags found
1 merge request!149Fix/headercheck and constexpr
......@@ -94,7 +94,7 @@ public:
*
* R. Prydz (1972, pp. 1-4) \cite prydz1972
*/
static constexpr Scalar vaporPressure(Scalar T)
static Scalar vaporPressure(Scalar T)
{
if (T > criticalTemperature())
return criticalPressure();
......@@ -166,7 +166,7 @@ public:
*
* See: R. Reid, et al. (1987, pp 154, 657, 665) \cite reid1987
*/
static constexpr Scalar gasEnthalpy(Scalar T,
static Scalar gasEnthalpy(Scalar T,
Scalar pressure)
{
// method of Joback
......@@ -198,7 +198,7 @@ public:
*
* See: R. Reid, et al. (1987, pp 396-397, 664) \cite reid1987
*/
static constexpr Scalar gasViscosity(Scalar temperature, Scalar pressure)
static Scalar gasViscosity(Scalar temperature, Scalar pressure)
{
const Scalar Tc = criticalTemperature();
const Scalar Vc = 73.4; // critical specific volume [cm^3/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