mirror of https://github.com/CGAL/cgal
Remove unused check_dimension_lt.
This commit is contained in:
parent
cb4ca9d8c8
commit
2a387ede81
|
|
@ -40,14 +40,6 @@ const int UNKNOWN_DIMENSION=(unsigned)-1/2;
|
||||||
|
|
||||||
// Check that dimension d1 is fine for a kernel of dimension d2.
|
// Check that dimension d1 is fine for a kernel of dimension d2.
|
||||||
// If d2 is unknown, any d1 is fine.
|
// 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){
|
inline bool check_dimension_eq(int d1, int d2){
|
||||||
return d2==UNKNOWN_DIMENSION || d1==d2;
|
return d2==UNKNOWN_DIMENSION || d1==d2;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,6 @@ namespace CGAL {
|
||||||
static void check_dim(int CGAL_assertion_code(d)){
|
static void check_dim(int CGAL_assertion_code(d)){
|
||||||
CGAL_assertion_code(int m = result_type::MaxSizeAtCompileTime;)
|
CGAL_assertion_code(int m = result_type::MaxSizeAtCompileTime;)
|
||||||
CGAL_assertion((m == Eigen::Dynamic) || (d <= m));
|
CGAL_assertion((m == Eigen::Dynamic) || (d <= m));
|
||||||
// could omit the first check since they use a big value for Dynamic.
|
|
||||||
}
|
}
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue