diff src/Finder.h @ 85:a540b26db228 refactors

Ah, no, of course the advance differs for the forward path (it is based on partial information). But the cost shouldn't.
author Chris Cannam
date Thu, 27 Nov 2014 11:27:17 +0000
parents de7034e93dd0
children f07b9b7f1ab6
line wrap: on
line diff
--- a/src/Finder.h	Thu Nov 27 10:53:00 2014 +0000
+++ b/src/Finder.h	Thu Nov 27 11:27:17 2014 +0000
@@ -68,7 +68,7 @@
 protected:
 #ifdef PERFORM_ERROR_CHECKS
     struct ErrorPosition {
-        enum Type { NoError = 0, WrongCost, WrongAdvance, NoAdvance };
+        enum Type { NoError = 0, WrongCost, NoAdvance };
         ErrorPosition() : type(NoError) { }
         Type type;
         int r;