Changeset: 03a9331eb180 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=03a9331eb180
Modified Files:
        gdk/gdk_select.c
Branch: default
Log Message:

fixing innermasks to include the edge bits if there are no nils and no hi or 
low limits.


diffs (16 lines):

diff --git a/gdk/gdk_select.c b/gdk/gdk_select.c
--- a/gdk/gdk_select.c
+++ b/gdk/gdk_select.c
@@ -267,8 +267,10 @@ do {                                                       
                    \
        hbin = IMPSgetbin(ATOMstorage(b->ttype), imprints->bits, bins, th); \
        for (j=lbin; j<=hbin; j++) mask = IMPSsetBit(mask, j);              \
        innermask = mask;                                                   \
-       innermask = IMPSunsetBit(innermask, lbin);                          \
-       innermask = IMPSunsetBit(innermask, hbin);                          \
+       if (!b->T->nonil || vl != minval)                                   \
+               innermask = IMPSunsetBit(innermask, lbin);                  \
+       if (vh != maxval)                                                   \
+               innermask = IMPSunsetBit(innermask, hbin);                  \
        if (anti) {                                                         \
                uint##B##_t tmp = mask;                                     \
                mask = ~innermask;                                          \
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to