Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98ae02c5 authored by Chris Craik's avatar Chris Craik Committed by Android (Google) Code Review
Browse files

Merge "Fix is_zero check"

parents 9a722ebc 222f3317
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
#define NONZERO_EPSILON .001f

static inline bool is_zero(float value) {
    return (value >= -NONZERO_EPSILON) || (value <= NONZERO_EPSILON);
    return (value >= -NONZERO_EPSILON) && (value <= NONZERO_EPSILON);
}

namespace android {