Skip to content

Commit 2353e64

Browse files
rburemagithub-actions[bot]
authored andcommitted
Apply clang-format
1 parent f3f26c7 commit 2353e64

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/LayerPlan.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,8 +639,7 @@ void LayerPlan::addExtrusionMoveWithGradualOverhang(
639639
std::vector<float> temp_intersections;
640640
for (const auto& tup : ranges::views::concat(dummy, intersections, dummy) | ranges::views::sliding(3))
641641
{
642-
if (std::abs(tup[1] - tup[0]) * segment_length >= MINIMUM_LINE_LENGTH &&
643-
std::abs(tup[2] - tup[1]) * segment_length >= MINIMUM_LINE_LENGTH)
642+
if (std::abs(tup[1] - tup[0]) * segment_length >= MINIMUM_LINE_LENGTH && std::abs(tup[2] - tup[1]) * segment_length >= MINIMUM_LINE_LENGTH)
644643
{
645644
temp_intersections.push_back(tup[1]);
646645
}

0 commit comments

Comments
 (0)