diff --git a/src/humid.cc b/src/humid.cc index ed7e3cd..cb56f36 100644 --- a/src/humid.cc +++ b/src/humid.cc @@ -158,7 +158,7 @@ vector findClusters( size_t id {0}; for (Result const& result: trie.walk()) { if (not result.leaf->cluster) { - Cluster* cluster {new Cluster(id++)}; + Cluster* cluster {new Cluster {id++}}; if (maximum) { assignMaxCluster(result.leaf, cluster); }