Merge pull request #2929 from akva2/janitoring

fixed: signed/unsigned comparison warnings
This commit is contained in:
Arne Morten Kvarving
2020-11-19 12:13:12 +01:00
committed by GitHub
2 changed files with 2 additions and 3 deletions

View File

@@ -294,7 +294,6 @@ public:
std::vector<char> buffer;
if (this->collectToIORank_.isIORank()) {
const auto& summary = eclIO_->summary();
const auto& eclState = simulator_.vanguard().eclState();
// Add TCPU
if (totalCpuTime != 0.0) {

View File

@@ -1191,10 +1191,10 @@ namespace Opm
// perforation at cell j connected to segment i. The code
// assumes that no cell is connected to more than one segment,
// i.e. the columns of B/C have no more than one nonzero.
for (int rowC = 0; rowC < duneC_.N(); ++rowC) {
for (size_t rowC = 0; rowC < duneC_.N(); ++rowC) {
for (auto colC = duneC_[rowC].begin(), endC = duneC_[rowC].end(); colC != endC; ++colC) {
const auto row_index = colC.index();
for (int rowB = 0; rowB < duneB_.N(); ++rowB) {
for (size_t rowB = 0; rowB < duneB_.N(); ++rowB) {
for (auto colB = duneB_[rowB].begin(), endB = duneB_[rowB].end(); colB != endB; ++colB) {
const auto col_index = colB.index();
OffDiagMatrixBlockWellType tmp1;