From a7101ced8be53cf4eebd283f09c7e11349095619 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dennis=20Gl=C3=A4ser?= <dennis.glaeser@iws.uni-stuttgart.de>
Date: Thu, 26 Jul 2018 14:40:26 +0200
Subject: [PATCH] [bincoeff][brineco2] fix typo

---
 dumux/material/binarycoefficients/brine_co2.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dumux/material/binarycoefficients/brine_co2.hh b/dumux/material/binarycoefficients/brine_co2.hh
index 2110a2e64b..04d5c29d73 100644
--- a/dumux/material/binarycoefficients/brine_co2.hh
+++ b/dumux/material/binarycoefficients/brine_co2.hh
@@ -102,7 +102,7 @@ public:
         Scalar A = computeA_(temperature, pg);
 
         /* salinity: conversion from mass fraction to mol fraction */
-        const Scalar x_NaCl = salinityToMolFrac_(salinity);
+        const Scalar x_NaCl = salinityToMoleFrac_(salinity);
 
         // if both phases are present the mole fractions in each phase can be calculate
         // with the mutual solubility function
@@ -198,7 +198,7 @@ private:
      *
      * \param salinity the salinity \f$\mathrm{[kg \ NaCl / kg \ solution]}\f$
      */
-    static Scalar salinityToMolFrac_(Scalar salinity) {
+    static Scalar salinityToMoleFrac_(Scalar salinity) {
 
         const Scalar Mw = H2O::molarMass(); /* molecular weight of water [kg/mol] */
         const Scalar Ms = 58.8e-3; /* molecular weight of NaCl  [kg/mol] */
-- 
GitLab