From c887f5fef803e720052898b9561028dfd50e51db Mon Sep 17 00:00:00 2001 From: gennyble Date: Tue, 16 Jan 2024 15:06:29 -0600 Subject: ability to choose kmeans implementation --- src/nih_kmeans.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nih_kmeans.rs') diff --git a/src/nih_kmeans.rs b/src/nih_kmeans.rs index a34d528..ee752bc 100644 --- a/src/nih_kmeans.rs +++ b/src/nih_kmeans.rs @@ -1,6 +1,6 @@ use std::collections::HashMap; -#[cfg(rand)] +#[cfg(feature = "rand")] use rand::{prelude::*, seq::index::sample}; use rgb::{RGB, RGB8}; -- cgit 1.4.1-3-g733a5