mirror of https://github.com/CGAL/cgal
Merge branch 'NewKernel_d-det-GF' into NewKernel_d-det-GF-CGAL-5.0
This commit is contained in:
commit
49244a6359
|
|
@ -102,12 +102,12 @@ template<class NT_,class Dim_,class Max_dim_=Dim_> struct LA_eigen {
|
||||||
return (int)v.cols();
|
return (int)v.cols();
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class Mat_> static NT determinant_aux(Mat_ const& m, Tag_true) {
|
template<class Mat_> static CGAL_NORETURN NT determinant_aux(Mat_ const&, Tag_true) {
|
||||||
CGAL_assume(false);
|
CGAL_error();
|
||||||
}
|
}
|
||||||
template<class Mat_> static NT determinant_aux(Mat_ const& m, Tag_false) {
|
template<class Mat_> static NT determinant_aux(Mat_ const& m, Tag_false) {
|
||||||
return m.determinant();
|
return m.determinant();
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class Mat_> static NT determinant(Mat_ const&m,bool=false){
|
template<class Mat_> static NT determinant(Mat_ const&m,bool=false){
|
||||||
switch(m.rows()){
|
switch(m.rows()){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue