Skip to content

Commit

Permalink
[fix] Solid sigma is zero if no precipitation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kastakin committed Oct 12, 2022
1 parent 4010d7a commit 20b91d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/python/optimizers/distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,7 @@ def _computeErrors(self, c_spec, c_solid, saturation_index, log_b, log_ks, point
+ ((der_solid_ks**2) * (self.ks_sigma**2)).sum(axis=1)
)
else:
solid_sigma = []
solid_sigma = np.array([0 for i in range(self.nf)])

return species_sigma, solid_sigma

Expand Down

0 comments on commit 20b91d5

Please sign in to comment.