Code

Reverting a change I made a while ago
authordvlierop2 <dvlierop2@users.sourceforge.net>
Thu, 9 Aug 2007 16:31:59 +0000 (16:31 +0000)
committerdvlierop2 <dvlierop2@users.sourceforge.net>
Thu, 9 Aug 2007 16:31:59 +0000 (16:31 +0000)
src/snap.cpp

index 651da788f67557e82cf2c822e353d6e08028849b..c585a979089dcda595251ad942d21d661e10c06d 100644 (file)
@@ -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;
             }