Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
Amael Marquez committed Dec 18, 2023
1 parent 8ed8c05 commit 5c8d218
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Ponca changelog
--------------------------------------------------------------------------------
Current head (v.1.3 RC)

- API
- [spatialPartitioning] Refactor KdTree into KdTree + KdTreeLod (#129)

--------------------------------------------------------------------------------
v.1.2
Expand Down
2 changes: 1 addition & 1 deletion Ponca/src/SpatialPartitioning/KdTree/kdTree.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class KdTreeImplBase
static_assert(std::is_same<typename IndexContainer::value_type, IndexType>::value, "Index type mismatch");
static_assert(std::is_same<typename NodeContainer::value_type, NodeType>::value, "Node type mismatch");

static_assert(Traits::MAX_DEPTH > 0, "Max depth must be strictly positive");
static_assert(MAX_DEPTH > 0, "Max depth must be strictly positive");

// Construction ------------------------------------------------------------
public:
Expand Down
3 changes: 2 additions & 1 deletion Ponca/src/SpatialPartitioning/KdTree/kdTree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ std::string KdTreeImplBase<Traits>::to_string(bool verbose) const
str << "KdTree:";
str << "\n MaxNodes: " << MAX_NODE_COUNT;
str << "\n MaxPoints: " << MAX_POINT_COUNT;
str << "\n MaxDepth: " << Traits::MAX_DEPTH;
str << "\n MaxDepth: " << MAX_DEPTH;
str << "\n SupportsSubsampling: " << SUPPORTS_SUBSAMPLING ? "true" : "false";

Check notice on line 83 in Ponca/src/SpatialPartitioning/KdTree/kdTree.hpp

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

Ponca/src/SpatialPartitioning/KdTree/kdTree.hpp#L83

Clarify calculation precedence for '<<' and '?'.
str << "\n PointCount: " << point_count();
str << "\n SampleCount: " << index_count();
str << "\n NodeCount: " << node_count();
Expand Down

0 comments on commit 5c8d218

Please sign in to comment.