diff options
Diffstat (limited to 'src/snap.cpp')
| -rw-r--r-- | src/snap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snap.cpp b/src/snap.cpp index 651da788f..c585a9790 100644 --- a/src/snap.cpp +++ b/src/snap.cpp @@ -441,7 +441,7 @@ std::pair<NR::Point, bool> SnapManager::_snapTransformed( } /* Note it if it's the best so far */ - if (metric < best_metric && metric != 0) { + if (metric < best_metric) { best_transformation = result; best_metric = metric; } |
