Remove unused check_dimension_lt.

This commit is contained in:
Marc Glisse 2014-05-07 19:37:53 +02:00
parent cb4ca9d8c8
commit 2a387ede81
2 changed files with 0 additions and 9 deletions

View File

@ -40,14 +40,6 @@ const int UNKNOWN_DIMENSION=(unsigned)-1/2;
// Check that dimension d1 is fine for a kernel of dimension d2.
// If d2 is unknown, any d1 is fine.
inline bool check_dimension_lt(int d1, int d2){
//return (d2==UNKNOWN_DIMENSION)||(d1<d2);
return d1<d2;
}
inline bool check_dimension_le(int d1, int d2){
//return (d2==UNKNOWN_DIMENSION)||(d1<=d2);
return d1<=d2;
}
inline bool check_dimension_eq(int d1, int d2){
return d2==UNKNOWN_DIMENSION || d1==d2;
}

View File

@ -23,7 +23,6 @@ namespace CGAL {
static void check_dim(int CGAL_assertion_code(d)){
CGAL_assertion_code(int m = result_type::MaxSizeAtCompileTime;)
CGAL_assertion((m == Eigen::Dynamic) || (d <= m));
// could omit the first check since they use a big value for Dynamic.
}
public: