Skip to content

Commit

Permalink
Fix path test
Browse files Browse the repository at this point in the history
  • Loading branch information
saraedum committed Oct 5, 2022
1 parent 96ad0c0 commit 99105eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libflatsurf/test/path.test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ TEMPLATE_TEST_CASE("Simplify Paths to Segments", "[Path][segment]", (long long),
CAPTURE(segment);

if constexpr (hasFractions<T>) {
const auto continuation = Segment{segment.end(), surface->sector(segment.target(), segment.vector(), CCW::CLOCKWISE, -segment.vector()), segment.vector() / 1024};
const auto continuation = Segment{
segment.end(),
surface->sector(segment.target(), -segment.vector(), CCW::CLOCKWISE, segment.vector()),
segment.vector() / 1024};

const Path<Surface> path = std::vector{segment, continuation};
CAPTURE(path);
Expand Down

0 comments on commit 99105eb

Please sign in to comment.