Skip to content

Commit

Permalink
improve stability
Browse files Browse the repository at this point in the history
  • Loading branch information
joyxyz1994 committed Aug 13, 2024
1 parent dcef80a commit 16f9fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qsdsan/sanunits/_anaerobic_reactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def _init_state(self):
def _update_state(self):
y = self._state
y[-1] = sum(ws.state[-1] for ws in self.ins)
# y[y<0] = 0.
y[y<1e-16] = 0.
f_rtn = self._f_retain
i_mass = self.components.i_mass
chem_MW = self.components.chem_MW
Expand Down

0 comments on commit 16f9fe1

Please sign in to comment.