From 673b73398d8c96d71b3f628ed0f3494ce7601036 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:24:12 +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 b8545567..b1828d9d 100644 --- a/src/clustering_quality.jl +++ b/src/clustering_quality.jl @@ -111,7 +111,7 @@ function clustering_quality( elseif quality_index ∈ (:xie_beni, :Xie_Beni, :xb) _cluquality_xie_beni(X, centers, weights, fuzziness, distance) else - error(ArgumentError("Quality index $quality_index not available.")) + throw(ArgumentError("Quality index $quality_index not supported.")) end end