From 5e7f18e7c6049b72931388bfbb74a9f80af356f2 Mon Sep 17 00:00:00 2001
From: Thomas Fetzer <thomas.fetzer@iws.uni-stuttgart.de>
Date: Fri, 10 Jul 2015 11:13:12 +0000
Subject: [PATCH] [pengrobinson] removed unused variable warning

reviewed by nicolas


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@15040 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 dumux/material/eos/pengrobinson.hh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dumux/material/eos/pengrobinson.hh b/dumux/material/eos/pengrobinson.hh
index bd2b8e01f9..734ff0ffe0 100644
--- a/dumux/material/eos/pengrobinson.hh
+++ b/dumux/material/eos/pengrobinson.hh
@@ -118,8 +118,7 @@ public:
         // Newton-Raphson method
         for (int i = 0; i < 5; ++i) {
             // calculate the molar densities
-            int numSol = molarVolumes(Vm, params, T, pVap);
-            assert(numSol == 3);
+            assert(molarVolumes(Vm, params, T, pVap) == 3);
 
             Scalar f = fugacityDifference_(params, T, pVap, Vm[0], Vm[2]);
             Scalar df_dp =
-- 
GitLab