From 74b4828219de6169d9c42f7eca70b2b106bfde0d Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Thu, 13 Dec 2018 14:28:14 +0100 Subject: [PATCH] #3870 Abort when creating contour map : Remove assert --- ApplicationCode/Commands/RicNewContourMapViewFeature.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ApplicationCode/Commands/RicNewContourMapViewFeature.cpp b/ApplicationCode/Commands/RicNewContourMapViewFeature.cpp index d3e675aace..51d7e9fc92 100644 --- a/ApplicationCode/Commands/RicNewContourMapViewFeature.cpp +++ b/ApplicationCode/Commands/RicNewContourMapViewFeature.cpp @@ -163,11 +163,9 @@ RimContourMapView* RicNewContourMapViewFeature::create2dContourMapFrom3dView(Rim std::vector fieldsWithFailingResolve; contourMap->resolveReferencesRecursively(&fieldsWithFailingResolve); - // The assert is placed inside an ifdef block for now. If we have intersections on well paths, - // the resolving is now failing -#ifndef NDEBUG - CVF_ASSERT(fieldsWithFailingResolve.empty()); -#endif // NDEBUG + // TODO: Introduce the assert when code is stable + // If we have intersections on well paths, the resolving is now failing + //CVF_ASSERT(fieldsWithFailingResolve.empty()); contourMap->initAfterReadRecursively();