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 8c2a451 commit 9c33d00
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 @@ -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
Expand Down

0 comments on commit 9c33d00

Please sign in to comment.