mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix typo causing out of range reference
This commit is contained in:
parent
b8ec574294
commit
e5427b2589
@ -299,7 +299,7 @@ std::vector<double> RiaWellLogUnitTools::convertBarToNormalizedByPP( const std::
|
||||
std::vector<double> RiaWellLogUnitTools::multiply( const std::vector<double>& valuesIn, double factor )
|
||||
{
|
||||
std::vector<double> valuesOut( valuesIn.size(), std::numeric_limits<double>::infinity() );
|
||||
for ( size_t i = 0; i < 100; ++i )
|
||||
for ( size_t i = 0; i < valuesIn.size(); ++i )
|
||||
{
|
||||
valuesOut[i] = valuesIn[i] * factor;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user