From fb48ec1266f7959bd9b97e1e4881ec643ef647e7 Mon Sep 17 00:00:00 2001
From: Thomas Fetzer <thomas.fetzer@iws.uni-stuttgart.de>
Date: Tue, 23 Feb 2016 16:59:46 +0100
Subject: [PATCH] [h2on2o2fluidsystem] Fix bug with not initializing heat
 capacity for oxygen

---
 dumux/material/fluidsystems/h2on2o2.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dumux/material/fluidsystems/h2on2o2.hh b/dumux/material/fluidsystems/h2on2o2.hh
index 71477f94c1..01cc92d7a5 100644
--- a/dumux/material/fluidsystems/h2on2o2.hh
+++ b/dumux/material/fluidsystems/h2on2o2.hh
@@ -838,7 +838,7 @@ public:
             Scalar c_pH2Omolar = Dumux::Constants<Scalar>::R + c_vH2Omolar;
 
             c_pN2 = c_pN2molar/molarMass(N2Idx);
-            c_pN2 = c_pO2molar/molarMass(O2Idx);
+            c_pO2 = c_pO2molar/molarMass(O2Idx);
             c_pH2O = c_pH2Omolar/molarMass(H2OIdx);
         }
 
-- 
GitLab