From 6e5773eac2c96666bf2e948ae038d3094779339a Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Wed, 18 Jul 2018 21:38:24 +0200
Subject: [PATCH] [bugfix] liquidphase2c has numPhases==1

---
 dumux/material/fluidsystems/liquidphase2c.hh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dumux/material/fluidsystems/liquidphase2c.hh b/dumux/material/fluidsystems/liquidphase2c.hh
index 2d816c5991..6e3065e7df 100644
--- a/dumux/material/fluidsystems/liquidphase2c.hh
+++ b/dumux/material/fluidsystems/liquidphase2c.hh
@@ -50,7 +50,7 @@ class LiquidPhaseTwoC
 public:
     using ParameterCache = NullParameterCache;
 
-    static constexpr int numPhases = 2; //!< Number of phases in the fluid system
+    static constexpr int numPhases = 1; //!< Number of phases in the fluid system
     static constexpr int numComponents = 2; //!< Number of components in the fluid system
 
     static constexpr int liquidPhaseIdx = 0; //!< index of the liquid phase
@@ -64,8 +64,7 @@ public:
     /*!
     * \brief Initialize the fluid system's static parameters generically
     */
-    static void init()
-    {}
+    static void init() {}
 
     /****************************************
      * Fluid phase related static parameters
-- 
GitLab