Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators/KernelWrappers/Common/SoilProfile2DHelper.cs =================================================================== diff -u -r5981 -r5983 --- DamEngine/trunk/src/Deltares.DamEngine.Calculators/KernelWrappers/Common/SoilProfile2DHelper.cs (.../SoilProfile2DHelper.cs) (revision 5981) +++ DamEngine/trunk/src/Deltares.DamEngine.Calculators/KernelWrappers/Common/SoilProfile2DHelper.cs (.../SoilProfile2DHelper.cs) (revision 5983) @@ -181,7 +181,7 @@ { foreach (GeometryLoop innerLoop in surface.InnerLoops) { - GeometrySurface geometrySurfaceOfInnerLoop = soilProfile2D.Geometry.Surfaces.First(s => s.OuterLoop == innerLoop); + GeometrySurface geometrySurfaceOfInnerLoop = soilProfile2D.Geometry.Surfaces.First(s => s.OuterLoop.HasSameCurves(innerLoop)); SoilLayer2D soilLayerOfInnerLoop = soilProfile2D.Surfaces.First(s => s.GeometrySurface == geometrySurfaceOfInnerLoop); if (soilLayerOfInnerLoop.IsAquifer) { Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/PlLinesCreator/SoilProfileValidatorTests.cs =================================================================== diff -u -r5846 -r5983 --- DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/PlLinesCreator/SoilProfileValidatorTests.cs (.../SoilProfileValidatorTests.cs) (revision 5846) +++ DamEngine/trunk/src/Deltares.DamEngine.Calculators.Tests/PlLinesCreator/SoilProfileValidatorTests.cs (.../SoilProfileValidatorTests.cs) (revision 5983) @@ -527,7 +527,8 @@ /// layer with label L 13 and material "wl_zand" inside the current layer with label L 8 and material "klei antropogeen". /// The aquifers.csv file is also modified by adding layer L 13. /// - [Test, Category(Categories.WorkInProgress)] + [Test] + [SetUICulture("nl-NL")] public void Given2DProfileFromXmlInputWithAquiferInnerLoopInAquitardOuterLoop_WhenValidating_ThenExceptionReturned() { const string mapTestFiles = @"PlLinesCreator\TestFiles\";