Skip to content
Browse files

fix gist contained

  • Loading branch information...
1 parent 1fda81e commit 1c9be5501e7b461ab76ff40c86a76736e68417f9 @funny-falcon funny-falcon committed with Feb 17, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 prefix.c
View
6 prefix.c
@@ -1025,7 +1025,11 @@ bool pr_consistent(StrategyNumber strategy,
return pr_contains(key, query, true);
case 2:
- return pr_contains(query, key, true);
+ if ( is_leaf ) {
+ return pr_contains(query, key, true);
+ } else {
+ return pr_overlaps(query, key);
+ }
case 3:
if( is_leaf ) {

0 comments on commit 1c9be55

Please sign in to comment.
Something went wrong with that request. Please try again.