Skip to content

Commit

Permalink
Merge pull request #71 from Enet4/chore/clippy-lint-2023-08
Browse files Browse the repository at this point in the history
Clippy lint
  • Loading branch information
Enet4 authored Aug 26, 2023
2 parents ea0bc97 + 182dee6 commit d5e8a15
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ impl ClusteringParameters {
}

pub fn niter(&self) -> i32 {
self.inner.niter as i32
self.inner.niter
}

pub fn nredo(&self) -> i32 {
self.inner.nredo as i32
self.inner.nredo
}

pub fn min_points_per_centroid(&self) -> i32 {
self.inner.min_points_per_centroid as i32
self.inner.min_points_per_centroid
}

pub fn max_points_per_centroid(&self) -> i32 {
self.inner.max_points_per_centroid as i32
self.inner.max_points_per_centroid
}

pub fn frozen_centroids(&self) -> bool {
Expand Down

0 comments on commit d5e8a15

Please sign in to comment.