diff --git a/NewKernel_d/include/CGAL/NewKernel_d/LA_eigen/LA.h b/NewKernel_d/include/CGAL/NewKernel_d/LA_eigen/LA.h index b820c00fc74..b65f47e85d0 100644 --- a/NewKernel_d/include/CGAL/NewKernel_d/LA_eigen/LA.h +++ b/NewKernel_d/include/CGAL/NewKernel_d/LA_eigen/LA.h @@ -102,12 +102,12 @@ template struct LA_eigen { return (int)v.cols(); } - template static NT determinant_aux(Mat_ const& m, Tag_true) { - CGAL_assume(false); - } - template static NT determinant_aux(Mat_ const& m, Tag_false) { - return m.determinant(); - } + template static CGAL_NORETURN NT determinant_aux(Mat_ const&, Tag_true) { + CGAL_error(); + } + template static NT determinant_aux(Mat_ const& m, Tag_false) { + return m.determinant(); + } template static NT determinant(Mat_ const&m,bool=false){ switch(m.rows()){