diff options
Diffstat (limited to 'src/app/query.rs')
-rw-r--r-- | src/app/query.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/query.rs b/src/app/query.rs index b99fb0ec..713e7d62 100644 --- a/src/app/query.rs +++ b/src/app/query.rs @@ -717,7 +717,7 @@ impl Prefix { let rhs: f64 = rhs.into(); match condition { - QueryComparison::Equal => (lhs - rhs).abs() < std::f64::EPSILON, + QueryComparison::Equal => (lhs - rhs).abs() < f64::EPSILON, QueryComparison::Less => lhs < rhs, QueryComparison::Greater => lhs > rhs, QueryComparison::LessOrEqual => lhs <= rhs, |