Skip to content

Commit

Permalink
[ci skip] Minor: better error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Liozou committed Sep 21, 2022
1 parent 976424b commit f08674a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/solver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ function rational_solve(::Val{N}, A::SparseMatrixCSC{Int,Int}, Y::Matrix{Int}) w
error("Singular exception while equilibrating. Is the graph connected?")
end
Z, check = linsolve!(B, Rational{BigInt}.(Y))
check || error("Singular exception on substitution. Please open an issue.")
check || error("Singular exception on substitution. Please report this error by opening an issue.")
return Rational{Int128}.(Z)
# Rational{Int64} is not enough for tep for instance.
end
Expand All @@ -268,7 +268,7 @@ function copyuntil(j, oldZ, ::Type{T}) where T
i == j && return Z
Z[i] = oldZ[i]
end
error("Invalid failure of _inner_dixon_p!, please report this error")
error("Invalid failure of _inner_dixon_p!. Please report this error by opening an issue.")
return Z # Does not matter but just in case for type stability
end

Expand Down

2 comments on commit f08674a

@Liozou
Copy link
Owner Author

@Liozou Liozou commented on f08674a Sep 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error while trying to register: "Tag with name v0.1.0 already exists and points to a different commit"

Please sign in to comment.