TofDiscGalReorder and TofReader: remove warnings due to new boost version.

This commit is contained in:
Robert Kloefkorn committed 2015-08-07 12:02:59 +02:00
1 parent 06c9d7d7e5
commit 9b16794a56
2 files changed
+4 -2

No files matched your search

@@ -217,7 +217,8 @@ namespace Opm
tracerhead_by_cell_.resize(grid_.number_of_cells, NoTracerHead);
}
for (int tr = 0; tr < num_tracers_; ++tr) {
for (int i = 0; i < tracerheads[tr].size(); ++i) {
const unsigned int tracerheadsSize = tracerheads[tr].size();
for (unsigned int i = 0; i < tracerheadsSize; ++i) {
const int cell = tracerheads[tr][i];
basis_func_->addConstant(1.0, &tracer_coeff[cell*num_tracers_*num_basis + tr*num_basis]);
tracer_coeff[cell*num_tracers_ + tr] = 1.0;