0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

abs -> fabs

This commit is contained in:
Mathias Stearn 2010-07-28 21:06:58 -04:00
parent f27bc16a32
commit 5c0fe6cf44

View File

@ -237,7 +237,7 @@ namespace mongo {
b.move( 1 , 1 );
unhash( a, ax, ay );
unhash( b, bx, by );
return (abs(ax-bx));
return (fabs(ax-bx));
}
const IndexDetails* getDetails() const {