Skip to content
Merged

Dev #266

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extern/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ set(SHAPE_BUILD_TEST OFF)
FetchContent_Declare(
shape
GIT_REPOSITORY https://github.com/fontanf/shape.git
GIT_TAG 816f1d31a107dff8d0734ac869ad97dbbdc19d83
GIT_TAG 60c1ee2cdde807ff5d89b034ded3d458e3a34cf7
#SOURCE_DIR "${PROJECT_SOURCE_DIR}/../shape/"
EXCLUDE_FROM_ALL)
FetchContent_MakeAvailable(shape)
Expand Down
2 changes: 1 addition & 1 deletion src/rectangleguillotine/branching_scheme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1879,7 +1879,7 @@ nlohmann::json BranchingScheme::json_export(
Solution solution = to_solution(node, true);

auto parent = node->parent;
while (parent != nullptr
while (parent->parent != nullptr
&& parent->item_type_id_1 == -1
&& parent->item_type_id_2 == -1) {
parent = parent->parent;
Expand Down
Loading