Fix unneeded-internal-declaration warning.

Again related to anonymous namespace function only being used
in template functions.
This commit is contained in:
Atgeirr Flø Rasmussen 2015-03-02 10:28:55 +01:00
parent 7539a80ed2
commit 8a1b35d4f6

View File

@ -767,7 +767,7 @@ namespace Opm
} // namespace Equil
namespace
namespace Details
{
/// Convert saturations from a vector of individual phase saturation vectors
/// to an interleaved format where all values for a given cell come before all
@ -784,7 +784,7 @@ namespace Opm
}
return s;
}
}
} // namespace Details
/**
@ -817,7 +817,7 @@ namespace Opm
? pu.phase_pos[BlackoilPhases::Liquid]
: pu.phase_pos[BlackoilPhases::Aqua];
state.pressure() = isc.press()[ref_phase];
state.saturation() = convertSats(isc.saturation());
state.saturation() = Details::convertSats(isc.saturation());
state.gasoilratio() = isc.rs();
state.rv() = isc.rv();
initBlackoilSurfvolUsingRSorRV(UgGridHelpers::numCells(grid), props, state);