Skip to content

Commit

Permalink
Fix dewarping bug cought by static analyser
Browse files Browse the repository at this point in the history
  • Loading branch information
trufanov-nok committed Sep 16, 2017
1 parent 01f0c24 commit 06ebdb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dewarping/TextLineTracer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ TextLineTracer::isCurvatureConsistent(std::vector<QPointF> const& polyline)
prev_normal_sqlen = next_segment_sqlen;
}

return !(significant_positive && significant_positive);
return !(significant_positive && significant_negative);
}

bool
Expand Down

0 comments on commit 06ebdb2

Please sign in to comment.