diff options
author | c.lamboo <casperlamboo@gmail.com> | 2022-11-04 17:33:16 +0300 |
---|---|---|
committer | c.lamboo <casperlamboo@gmail.com> | 2022-11-04 17:33:16 +0300 |
commit | 165eaa69284fe684094735c8b84aa7d1174a0471 (patch) | |
tree | 6480078b511096216d14eb678a5956e4742e5442 | |
parent | 89451982396c8f2bd9326284b8ffb443c37c7816 (diff) |
Revert "Improve less-random placement of seam location"
This reverts commit c5b3edf925b3a54da558ba79a3d78b750fbed60c.
-rw-r--r-- | include/PathOrderOptimizer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/PathOrderOptimizer.h b/include/PathOrderOptimizer.h index ea65bf367..7910703b8 100644 --- a/include/PathOrderOptimizer.h +++ b/include/PathOrderOptimizer.h @@ -491,8 +491,7 @@ protected: } } - constexpr float EPSILON = 25.0; - if(score + EPSILON < best_score) + if(score < best_score) { best_score = score; best_i = i; |