diff --git a/src/clustering_quality.jl b/src/clustering_quality.jl index 8ff3ec75..9e45fe45 100644 --- a/src/clustering_quality.jl +++ b/src/clustering_quality.jl @@ -55,7 +55,7 @@ function clustering_quality( elseif quality_index ∈ (:dunn, :Dunn, :d) _cluquality_dunn(assignments, pairwise(distance, eachcol(X))) else - error(ArgumentError("Quality index $quality_index not available.")) + throw(ArgumentError("Quality index $quality_index not supported.")) end end end