Skip to content

Commit

Permalink
Fix template parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Aug 15, 2024
1 parent 9ade3d2 commit 61ae325
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Kernel_23/include/CGAL/Bbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ template <typename Di, typename T>
class Bbox;

// A fixed D-dimensional axis aligned box
template<unsigned int N, typename T>
class Bbox<Dimension_tag<N>> : public Impl::Bbox<std::array<T, N>, Bbox<N,T>>
template<int N, typename T>
class Bbox<Dimension_tag<N>, T> : public Impl::Bbox<std::array<T, N>, Bbox<Dimension_tag<N>,T>>
{
enum { D = N };
public:
Expand All @@ -141,7 +141,7 @@ class Bbox<Dimension_tag<N>> : public Impl::Bbox<std::array<T, N>, Bbox<N,T>>

// A dynamic D-dimensional axis aligned box
template<typename T>
class Bbox<Dynamic_dimension_tag,T> : public Impl::Bbox<std::vector<T>, Bbox<0,T>>
class Bbox<Dynamic_dimension_tag,T> : public Impl::Bbox<std::vector<T>, Bbox<Dynamic_dimension_tag,T>>
{
public:
inline int dimension() const { return this->min_values.size(); }
Expand Down

0 comments on commit 61ae325

Please sign in to comment.