mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix Linux build issue with lambdas
This commit is contained in:
parent
f0ecf57a2b
commit
1b2c2b9499
@ -284,7 +284,7 @@ void eraseInvalidEntries( std::vector<CorrelationMatrixRowOrColumn>& matrix )
|
||||
{
|
||||
matrix.erase( std::remove_if( matrix.begin(),
|
||||
matrix.end(),
|
||||
[]( auto entry ) {
|
||||
[]( const CorrelationMatrixRowOrColumn& entry ) {
|
||||
return !RiaCurveDataTools::isValidValue( entry.m_correlationSum, false );
|
||||
} ),
|
||||
matrix.end() );
|
||||
|
Loading…
Reference in New Issue
Block a user