Skip to content

Commit

Permalink
update packedrtree, header-only version
Browse files Browse the repository at this point in the history
  • Loading branch information
zhixiong-tang committed Sep 8, 2023
1 parent e82cb65 commit 9901c38
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
3 changes: 1 addition & 2 deletions src/bindings/pybind11_packedrtree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>

#include "packedrtree.h"
#include "packedrtree.hpp"
#include "spdlog/spdlog.h"
#include "nano_fmm/types.hpp"

Expand Down Expand Up @@ -57,7 +57,6 @@ void bind_packedrtree(py::module &m)
return self.intersects({minX, minY, maxX, maxY});
},
"minX"_a, "minY"_a, "maxX"_a, "maxY"_a)
.def("toVector", &NodeItem::toVector)
.def("to_numpy",
[](const NodeItem &self) {
return Eigen::Vector4d(self.minX, self.minY, //
Expand Down
2 changes: 1 addition & 1 deletion src/nano_fmm/network.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "nano_fmm/network/ubodt.hpp"
#include "nano_fmm/network/match_result.hpp"

#include "packedrtree.h"
#include "packedrtree.hpp"

#include <optional>
#include <memory>
Expand Down
1 change: 0 additions & 1 deletion src/source.cpp
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
#include "packedrtree.cpp"
3 changes: 0 additions & 3 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,3 @@ def test_logging():
output.read()
fmm.utils.logging("hello eight")
print(f"Captured: {output}")


test_logging()

0 comments on commit 9901c38

Please sign in to comment.