diff --git a/README.md b/README.md index a9b0975..1ec46d9 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ fn main() { ## License -Copyright 2019-2023 EINSIS, Inc. +Copyright 2022-2023 ClumL Inc. Licensed under [Apache License, Version 2.0][apache-license] (the "License"); you may not use this crate except in compliance with the License. @@ -44,4 +44,4 @@ for inclusion in the work by you, as defined in the [Apache-2.0 license][apache-license], shall be licensed as above, without any additional terms or conditions. -[apache-license]: http://www.apache.org/licenses/LICENSE-2.0 \ No newline at end of file +[apache-license]: http://www.apache.org/licenses/LICENSE-2.0 diff --git a/srtree/src/algorithm/query.rs b/srtree/src/algorithm/query.rs index 020235d..afc007b 100644 --- a/srtree/src/algorithm/query.rs +++ b/srtree/src/algorithm/query.rs @@ -39,7 +39,7 @@ where { #[must_use] fn partial_cmp(&self, other: &Self) -> Option { - self.distance.partial_cmp(&other.distance) + Some(self.cmp(other)) } }