mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-22 15:33:29 -06:00
fixed: quell signed/unsigned comparison warning
This commit is contained in:
parent
63dabb4777
commit
fddad72a3e
@ -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];
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user