mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix a couple of build warnings on Linux
This commit is contained in:
parent
f16ad3d3dc
commit
c0bf63ea95
@ -233,11 +233,11 @@ void RicExportCarfinForCompletionsFeature::onActionTriggered(bool isChecked)
|
|||||||
|
|
||||||
std::vector<double> lgrValues;
|
std::vector<double> lgrValues;
|
||||||
|
|
||||||
for (int k = 0; k < lgrCellCounts.k(); k++)
|
for (size_t k = 0; k < lgrCellCounts.k(); k++)
|
||||||
{
|
{
|
||||||
for (int j = 0; j < lgrCellCounts.j(); j++)
|
for (size_t j = 0; j < lgrCellCounts.j(); j++)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < lgrCellCounts.i(); i++)
|
for (size_t i = 0; i < lgrCellCounts.i(); i++)
|
||||||
{
|
{
|
||||||
lgrValues.push_back(poro);
|
lgrValues.push_back(poro);
|
||||||
}
|
}
|
||||||
|
@ -190,7 +190,7 @@ void RifEclipseDataTableFormatter::addValueTable(QTextStream& stream, const QStr
|
|||||||
subFormatter.header(cols);
|
subFormatter.header(cols);
|
||||||
|
|
||||||
int colCount = 0;
|
int colCount = 0;
|
||||||
for (int i = 0; i < values.size(); i++)
|
for (size_t i = 0; i < values.size(); i++)
|
||||||
{
|
{
|
||||||
subFormatter.add(values[i]);
|
subFormatter.add(values[i]);
|
||||||
if (++colCount % columns == 0 && i < values.size() - 1) subFormatter.rowCompleted("");
|
if (++colCount % columns == 0 && i < values.size() - 1) subFormatter.rowCompleted("");
|
||||||
|
Loading…
Reference in New Issue
Block a user