From e486f3f78e9f13874c2ea6f80b19f03df38d9148 Mon Sep 17 00:00:00 2001 From: jowr Date: Thu, 10 Jul 2014 00:15:57 +0200 Subject: [PATCH] minor changes --- src/Backends/Incompressible/IncompressibleFluid.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Backends/Incompressible/IncompressibleFluid.cpp b/src/Backends/Incompressible/IncompressibleFluid.cpp index 75b8425d..7fcec3bb 100644 --- a/src/Backends/Incompressible/IncompressibleFluid.cpp +++ b/src/Backends/Incompressible/IncompressibleFluid.cpp @@ -108,7 +108,7 @@ double IncompressibleFluid::c (double T, double p, double x){ throw ValueError(format("%s (%d): There is no predefined way to use this function type \"[%d]\" for entropy.",__FILE__,__LINE__,specific_heat.type)); break; } - return -_HUGE; + return _HUGE; } /// Entropy as a function of temperature, pressure and composition. @@ -125,7 +125,7 @@ double IncompressibleFluid::s (double T, double p, double x){ throw ValueError(format("%s (%d): There is no predefined way to use this function type \"[%d]\" for entropy.",__FILE__,__LINE__,specific_heat.type)); break; } - return -_HUGE; + return _HUGE; } /// Internal energy as a function of temperature, pressure and composition. @@ -142,7 +142,7 @@ double IncompressibleFluid::u (double T, double p, double x){ throw ValueError(format("%s (%d): There is no predefined way to use this function type \"[%d]\" for internal energy.",__FILE__,__LINE__,specific_heat.type)); break; } - return -_HUGE; + return _HUGE; } /// Enthalpy as a function of temperature, pressure and composition.