mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-03 18:30:31 -06:00
Silence multiple warnings.
Also add more warnings to the disabling list of disable_warnings.h.
This commit is contained in:
parent
fcd637896c
commit
9f721bbe9a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user