Fix mix of signed / unsigned compare

This commit is contained in:
Magne Sjaastad
2017-06-09 15:55:47 +02:00
parent c72fb84bb9
commit 96981d1ab4
3 changed files with 3 additions and 3 deletions

View File

@@ -429,7 +429,7 @@ std::vector<double> RivWellFracturePartMgr::mirrorDataAtSingleDepth(std::vector<
{
std::vector<double> mirroredValuesAtGivenDepth;
mirroredValuesAtGivenDepth.push_back(depthData[0]);
for (int i = 1; i < (depthData.size()); i++) //starting at 1 since we don't want center value twice
for (size_t i = 1; i < (depthData.size()); i++) //starting at 1 since we don't want center value twice
{
double valueAtGivenX = depthData[i];
mirroredValuesAtGivenDepth.insert(mirroredValuesAtGivenDepth.begin(), valueAtGivenX);