mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixes by clang-format
This commit is contained in:
parent
839a049804
commit
cd3e331e12
@ -194,7 +194,7 @@ void RiaInterpolationTools::interpolateMissingValues( const std::vector<double>&
|
|||||||
{
|
{
|
||||||
// The last value is inf: extrapolate from two last data points
|
// The last value is inf: extrapolate from two last data points
|
||||||
int prevSetIndex2 = findPreviousDataPoint( y, prevSetIndex - 1 );
|
int prevSetIndex2 = findPreviousDataPoint( y, prevSetIndex - 1 );
|
||||||
index = extrapolateRange( index, (int) y.size(), prevSetIndex2, prevSetIndex, x, y );
|
index = extrapolateRange( index, (int)y.size(), prevSetIndex2, prevSetIndex, x, y );
|
||||||
}
|
}
|
||||||
else if ( nextSetIndex != static_cast<int>( y.size() ) )
|
else if ( nextSetIndex != static_cast<int>( y.size() ) )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user