Silence multiple warnings.

Also add more warnings to the disabling list of disable_warnings.h.
This commit is contained in:
Atgeirr Flø Rasmussen 2015-05-28 14:05:09 +02:00
parent fcd637896c
commit 9f721bbe9a

View File

@ -101,10 +101,10 @@ namespace Opm
{
const ParallelISTLInformation& info =
boost::any_cast<const ParallelISTLInformation&>(parallel_information_);
std::size_t size_per_component = (end - it) / num_components;
int size_per_component = (end - it) / num_components;
assert((end - it) == num_components * size_per_component);
double component_product = 0.0;
for( std::size_t i = 0; i < num_components; ++i )
for( int i = 0; i < num_components; ++i )
{
auto component_container =
boost::make_iterator_range(it + i * size_per_component,