Skip to content
Permalink
Browse files
MATH-1589: Remove spurious "throws" clause.
  • Loading branch information
Gilles Sadowski committed Jan 24, 2022
1 parent e18ac1b commit f862efe4c6b84a06548e72f5b5088e22f099fb32
Showing 1 changed file with 1 addition and 3 deletions.
@@ -53,8 +53,7 @@ protected Clusterer(final DistanceMeasure measure) {
* @throws ConvergenceException if the algorithm has not yet converged after
* the maximum number of iterations has been exceeded
*/
public abstract List<? extends Cluster<T>> cluster(Collection<T> points)
throws MathIllegalArgumentException, ConvergenceException;
public abstract List<? extends Cluster<T>> cluster(Collection<T> points);

/**
* Returns the {@link DistanceMeasure} instance used by this clusterer.
@@ -76,5 +75,4 @@ public DistanceMeasure getDistanceMeasure() {
protected double distance(final Clusterable p1, final Clusterable p2) {
return measure.compute(p1.getPoint(), p2.getPoint());
}

}

0 comments on commit f862efe

Please sign in to comment.