Changeset: cc3ff2e7bb03 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/cc3ff2e7bb03
Modified Files:
        geom/monetdb5/geom_atoms.c
Branch: default
Log Message:

Use fltHash directly instead of through function pointer.


diffs (14 lines):

diff --git a/geom/monetdb5/geom_atoms.c b/geom/monetdb5/geom_atoms.c
--- a/geom/monetdb5/geom_atoms.c
+++ b/geom/monetdb5/geom_atoms.c
@@ -502,8 +502,8 @@ BUN
 mbrHASH(const void *ATOM)
 {
        const mbr *atom = ATOM;
-       return ATOMhash(TYPE_flt, &atom->xmin) ^ ATOMhash(TYPE_flt, 
&atom->ymin) ^
-               ATOMhash(TYPE_flt, &atom->xmax) ^ ATOMhash(TYPE_flt, 
&atom->ymax);
+       return fltHash(&atom->xmin) ^ fltHash(&atom->ymin) ^
+               fltHash(&atom->xmax) ^ fltHash(&atom->ymax);
 }
 
 const void *
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to