Skip to content

Commit

Permalink
Update src/clustering_quality.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Alexey Stukalov <[email protected]>
  • Loading branch information
jaksle and alyst authored Oct 9, 2023
1 parent de6aee0 commit 673b733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clustering_quality.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 673b733

Please sign in to comment.