From 71a9c2709b0581e33efe2ee3d5872041ac44b6bc Mon Sep 17 00:00:00 2001 From: Kishore Nallan Date: Sun, 28 Feb 2016 09:01:58 +0530 Subject: [PATCH] Bug fix: Wrong order of arguments when recursing. --- src/art.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/art.cpp b/src/art.cpp index 110bd76a..1132f5ca 100644 --- a/src/art.cpp +++ b/src/art.cpp @@ -1038,7 +1038,7 @@ int art_iter_prefix(art_tree *t, const unsigned char *key, int key_len, art_call }\ } else if(row_min <= max_cost) {\ int new_depth = (child_char != 0) ? depth+1 : depth;\ - art_iter_fuzzy_prefix_recurse(child, term, term_len, max_cost, new_depth, max_words, new_current_row, results);\ + art_iter_fuzzy_prefix_recurse(child, term, term_len, max_cost, max_words, new_depth, new_current_row, results);\ }\ }\