Skip to content

Commit

Permalink
small bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn committed May 21, 2021
1 parent 6cff3e3 commit 36b95c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pysme/solve.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ def solve(self, sme, param_names=None, segments="all"):
p0 = np.clip(p0, bounds[0], bounds[1])

# Get constant data from sme structure
sme.mask[segments][sme.uncs[segments] == 0] = 0
sme.mask[segments][sme.uncs[segments] == 0] = sme.mask_values["bad"]
mask = sme.mask_good[segments]
spec = sme.spec[segments][mask]
uncs = sme.uncs[segments][mask]
Expand Down

0 comments on commit 36b95c8

Please sign in to comment.