Skip to content

Commit 2e56390

Browse files
TorkelEisaacsas
andauthored
Update src/steady_state_stability.jl
Co-authored-by: Sam Isaacson <[email protected]>
1 parent 2bae4a4 commit 2e56390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/steady_state_stability.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function steady_state_stability(u::Vector, rs::ReactionSystem, ps; tol = 10*sqrt
6767
# Computes stability (by checking that the real part of all eigenvalues is negative).
6868
max_eig = maximum(real(ev) for ev in eigvals(J))
6969
if abs(max_eig) < tol
70-
error("The system Jacobian's maximum eigenvalue at the steady state is within the tolerance range (abs($max_eig) < $tol). Hence, stability could not be reliably determined. If you still wish to compute the stability, reduce the `tol` argument.")
70+
error("The system Jacobian's maximum eigenvalue at the steady state is within the tolerance range (abs($max_eig) < $tol). Hence, stability could not be reliably determined. If you still wish to compute the stability, reduce the `tol` argument, but note that floating point error in the eigenvalue calculation could lead to incorrect results.")
7171
end
7272
return max_eig < 0
7373
end

0 commit comments

Comments
 (0)