From 9c33d000d873573665f343ccaf721025cd016ef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=9Al=C4=99zak?= <128084860+jaksle@users.noreply.github.com> Date: Mon, 9 Oct 2023 18:21:46 +0200 Subject: [PATCH] Update src/clustering_quality.jl Co-authored-by: Alexey Stukalov --- src/clustering_quality.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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