Skip to content

Commit 4e13df1

Browse files
authored
fix: correct class instantiation after change in import
1 parent bdfab77 commit 4e13df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffpy/snmf/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Y0 = np.loadtxt("input/W0.txt", dtype=float)
88
N, M = MM.shape
99

10-
my_model = snmf_class.SNMFOptimizer(MM=MM, Y0=Y0, X0=X0, A0=A0)
10+
my_model = SNMFOptimizer(MM=MM, Y0=Y0, X0=X0, A0=A0)
1111
print("Done")
1212
np.savetxt("my_norm_X.txt", my_model.X, fmt="%.6g", delimiter=" ")
1313
np.savetxt("my_norm_Y.txt", my_model.Y, fmt="%.6g", delimiter=" ")

0 commit comments

Comments
 (0)