Skip to content

Commit d30739a

Browse files
committed
add max_iter_harmony to self
This fixes a bug in pull request #8 that caused this error: AttributeError: 'Harmony' object has no attribute 'max_iter_harmony'
1 parent 61d6fa1 commit d30739a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: harmonypy/harmony.py

+1
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ def __init__(
156156
self.sigma_prior = sigma
157157
self.block_size = block_size
158158
self.K = K # number of clusters
159+
self.max_iter_harmony = max_iter_harmony
159160
self.max_iter_kmeans = max_iter_kmeans
160161
self.verbose = verbose
161162
self.theta = theta

0 commit comments

Comments
 (0)