Changeset: e63fb15883d2 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e63fb15883d2
Modified Files:
        monetdb5/modules/mal/mosaic.c
Branch: mosaic
Log Message:

Fixed typo on rle estimates


diffs (12 lines):

diff --git a/monetdb5/modules/mal/mosaic.c b/monetdb5/modules/mal/mosaic.c
--- a/monetdb5/modules/mal/mosaic.c
+++ b/monetdb5/modules/mal/mosaic.c
@@ -257,7 +257,7 @@ MOScompressInternal(Client cntxt, int *r
                // select candidate amongst those
                if ( filter[MOSAIC_RLE]){
                        perc = MOSestimate_rle(cntxt,task);
-                       if ( perc < percentage){
+                       if (perc >= 0 &&  perc < percentage){
                                cand = MOSAIC_RLE;
                                percentage = perc;
                        }
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to