Permalink
Browse files

fixed #143 issue with range filter and block index check, caused earl…

…y reject to pass query further
  • Loading branch information...
tomatolog committed Nov 15, 2017
1 parent b1c3864 commit 989752bbf4f51cbc0fb4b879754e78bb8d7dda1f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/sphinxfilter.cpp
@@ -165,9 +165,9 @@ bool EvalBlockRangeAny ( T tMin1, T tMax1, T tMin2, T tMax2 )
bool bMaxOk;
if_const ( HAS_EQUAL_MAX )
bMaxOk = tMax2>=tMin2;
bMaxOk = tMax1>=tMin2;
else
bMaxOk = tMax2>tMin2;
bMaxOk = tMax1>tMin2;
return bMinOk && bMaxOk;
}

0 comments on commit 989752b

Please sign in to comment.