Skip to content

Commit b200826

Browse files
author
John Halloran
committed
fix: use correct version of rho
1 parent ac44016 commit b200826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffpy/snmf/snmf_class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def fit(self, rho=0, eta=0, reset=True):
215215
self.eta = eta
216216

217217
# Set stretch matrix to 1 if no stretching present
218-
if rho == 0:
218+
if self.rho == 0:
219219
self.stretch_ = np.ones_like(self.stretch_)
220220

221221
# Set up residual matrix, objective function, and history

0 commit comments

Comments
 (0)