Merge pull request #3066 from akva2/janitoring

Some janitoring
This commit is contained in:
Arne Morten Kvarving 2022-06-27 15:27:29 +02:00 committed by GitHub
commit fdc0ea3436
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -265,7 +265,7 @@ public:
serializer.map(comp_map);
}
} else {
std::size_t size;
std::size_t size = 0;
serializer(size);
for (std::size_t i=0; i < size; i++) {
std::string well;

View File

@ -767,7 +767,7 @@ namespace {
return sgof.getKrgColumn().eval(ix);
};
const auto famI_sgof_let = [&sgofLetTables, &sr](const int i) -> double
const auto famI_sgof_let = [&sgofLetTables](const int i) -> double
{
return sgofLetTables[i].krt1_relperm;
};
@ -842,7 +842,7 @@ namespace {
return swof.getKrwColumn().eval(ix);
};
const auto& famI_let = [&swofLetTables, &sr](const int i) -> double
const auto& famI_let = [&swofLetTables](const int i) -> double
{
return swofLetTables[i].krt1_relperm;
};
@ -896,7 +896,7 @@ namespace {
return swof.getKrowColumn().eval(ix);
};
const auto famI_let = [&swofLetTables, &ep](const int i) -> double
const auto famI_let = [&swofLetTables](const int i) -> double
{
return swofLetTables[i].krt2_relperm;
};
@ -963,7 +963,7 @@ namespace {
return sgof.getKrogColumn().eval(ix);
};
const auto famI_sgof_let = [&sgofLetTables, &ep](const int i) -> double
const auto famI_sgof_let = [&sgofLetTables](const int i) -> double
{
return sgofLetTables[i].krt2_relperm;
};