From c887f5fef803e720052898b9561028dfd50e51db Mon Sep 17 00:00:00 2001 From: gennyble <gen@nyble.dev> Date: Tue, 16 Jan 2024 15:06:29 -0600 Subject: ability to choose kmeans implementation --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 9ab6b5c..cbecf76 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,6 +3,7 @@ use std::collections::HashSet; use rgb::{ComponentBytes, FromSlice, RGB8}; pub mod difference; +#[cfg(not(feature = "simd-kmeans"))] mod nih_kmeans; pub mod selection; -- cgit 1.4.1-3-g733a5