lbehnke / hierarchical-clustering-java

Implementation of an agglomerative hierarchical clustering algorithm in Java. Different linkage approaches are supported.
141 stars 79 forks source link

Null check error! #1

Closed ghost closed 11 years ago

ghost commented 11 years ago

Here: https://github.com/lbehnke/hierarchical-clustering-java/blob/master/src/main/java/com/apporiented/algorithm/clustering/HierarchyBuilder.java - line 64, the null check: if (link1 != null) should be: if (link2 != null).