Skip to content

Commit 98db94c

Browse files
author
John Halloran
committed
fix: inputs to reconstruct_matrix should not be optional
1 parent c59cc70 commit 98db94c

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
@@ -702,7 +702,7 @@ def cubic_largest_real_root(p, q):
702702
return y
703703

704704

705-
def reconstruct_matrix(components=None, weights=None, stretch=None):
705+
def reconstruct_matrix(components, weights, stretch):
706706
"""
707707
Construct the approximation of the source matrix corresponding to the
708708
given components, weights, and stretch factors.

0 commit comments

Comments
 (0)