fixed: quell signed/unsigned comparison warning

This commit is contained in:
Arne Morten Kvarving
2018-04-13 11:25:10 +02:00
parent 63dabb4777
commit fddad72a3e
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ namespace Opm
return primary_variables_evaluation_[GFrac];
}
if (has_solvent && compIdx == contiSolventEqIdx) {
if (has_solvent && compIdx == (unsigned)contiSolventEqIdx) {
return primary_variables_evaluation_[SFrac];
}
+2
View File
@@ -87,7 +87,9 @@ try
/// We open an output file stream for the output
/// \snippet tutorial1.cpp output stream
/// \internal [output stream]
#ifdef DISABLE_OUTPUT
std::ofstream vtkfile("tutorial1.vtu");
#endif
/// \internal [output stream]
/// \endinternal
/// \page tutorial1