diff options
Diffstat (limited to 'src/engine/Problem.cpp')
-rw-r--r-- | src/engine/Problem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/Problem.cpp b/src/engine/Problem.cpp index 5c5992d..2db4f45 100644 --- a/src/engine/Problem.cpp +++ b/src/engine/Problem.cpp @@ -357,7 +357,7 @@ Problem::distance(const std::vector<uint8_t>& source, // Enhanced Dynamic Programming ASM Algorithm" // (http://www.acm.org/~hlb/publications/asm/asm.html) - if (( i > 2) && ( j > 2) ) { + if (i > 2 && j > 2) { uint16_t trans = _matrix[i - 2][j - 2] + 1; if (source[i - 2] != t_j) { trans++; |