Fix single child branch bug, and remove `cell_tree` (#427)
* Remove `cell_tree` wrapper around `tree`. * Separate `tree` construction from tree reduction operation. * Rename `make_parent_index` to `tree_reduce`. Fixes #426.
Showing
- src/algorithms.hpp 26 additions, 2 deletionssrc/algorithms.hpp
- src/cell.cpp 2 additions, 2 deletionssrc/cell.cpp
- src/cell.hpp 4 additions, 4 deletionssrc/cell.hpp
- src/cell_tree.hpp 0 additions, 302 deletionssrc/cell_tree.hpp
- src/swcio.hpp 1 addition, 1 deletionsrc/swcio.hpp
- src/tree.hpp 28 additions, 33 deletionssrc/tree.hpp
- tests/unit/test_algorithms.cpp 4 additions, 4 deletionstests/unit/test_algorithms.cpp
- tests/unit/test_cell.cpp 47 additions, 7 deletionstests/unit/test_cell.cpp
- tests/unit/test_tree.cpp 38 additions, 291 deletionstests/unit/test_tree.cpp
Please register or sign in to comment