mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 17:02:13 -05:00
Compare with correct enum
This commit is contained in:
1 parent
374a4e396b
commit
385207eebe
1 file changed
+2
-2
@@ -227,14 +227,14 @@ void RimWellLogCurveCommonDataSource::updateDefaultOptions( const std::vector<Ri
|
||||
m_uniqueCases.insert( extractionCurve->rimCase() );
|
||||
}
|
||||
m_uniqueTrajectoryTypes.insert( static_cast<int>( extractionCurve->trajectoryType() ) );
|
||||
if ( extractionCurve->trajectoryType() == RimWellLogTrack::WELL_PATH )
|
||||
if ( extractionCurve->trajectoryType() == RimWellLogExtractionCurve::WELL_PATH )
|
||||
{
|
||||
if ( extractionCurve->wellPath() )
|
||||
{
|
||||
m_uniqueWellPaths.insert( extractionCurve->wellPath() );
|
||||
}
|
||||
}
|
||||
else if ( extractionCurve->trajectoryType() == RimWellLogTrack::SIMULATION_WELL )
|
||||
else if ( extractionCurve->trajectoryType() == RimWellLogExtractionCurve::SIMULATION_WELL )
|
||||
{
|
||||
if ( !extractionCurve->wellName().isEmpty() )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user