Skip to content

Commit

Permalink
Issue Oslandia#130: Corrected incorrect inequality.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcu888 committed May 6, 2020
1 parent 8e9ba66 commit ac8ff5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithm/lineSegment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ std::unique_ptr<LineString> lineSegment( const LineString& ls
}

bool reverse = false;
if ( start < end )
if ( start > end )
{
// Swap the start and end positions so that they
// define a positive range on ls, setting the
Expand Down

0 comments on commit ac8ff5a

Please sign in to comment.