From c7d350c834b6151439d0c18980fc981f63631821 Mon Sep 17 00:00:00 2001 From: ageay Date: Tue, 29 Oct 2013 11:01:28 +0000 Subject: [PATCH] Warning hunting. --- src/INTERP_KERNEL/InterpolationPlanar.txx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/INTERP_KERNEL/InterpolationPlanar.txx b/src/INTERP_KERNEL/InterpolationPlanar.txx index 92aa07407..62568cab0 100644 --- a/src/INTERP_KERNEL/InterpolationPlanar.txx +++ b/src/INTERP_KERNEL/InterpolationPlanar.txx @@ -190,6 +190,8 @@ namespace INTERP_KERNEL InterpolationOptions::getPrecision(), InterpolationOptions::getOrientation()); break; + default: + throw INTERP_KERNEL::Exception("For P0P0 planar interpolation possibities are : Triangulation, Convex, Geometric2D, PointLocator !"); } } else if(meth=="P0P1") @@ -227,6 +229,8 @@ namespace INTERP_KERNEL InterpolationOptions::getPrecision(), InterpolationOptions::getOrientation()); break; + default: + throw INTERP_KERNEL::Exception("For P0P1 planar interpolation possibities are : Triangulation, Convex, Geometric2D, PointLocator !"); } } else if(meth=="P1P0") @@ -316,6 +320,8 @@ namespace INTERP_KERNEL InterpolationOptions::getPrecision(), InterpolationOptions::getOrientation()); break; + default: + throw INTERP_KERNEL::Exception("For P1P1 planar interpolation possibities are : Triangulation, Convex, Geometric2D, PointLocator !"); } } else -- 2.39.2