Skip to content

Commit

Permalink
Fix dimension of FrechetKdTree
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Dec 16, 2024
1 parent 6360f72 commit 27cf9e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class FrechetKdTree
using PolylineID = std::size_t;
using PolylineIDs = std::vector<PolylineID>;

using D = Dimension_tag<8>; // must be 4 x Traits::dimension
using D = Dimension_tag<4*Traits::Dimension::value>;
// FIXME: is fixing Cartesian_d too non-general here?
using Traits_d = Cartesian_d<typename Traits::FT>;
using Tree_traits_base = Search_traits_d<Traits_d, D>;
Expand Down

0 comments on commit 27cf9e7

Please sign in to comment.