Skip to content

Commit

Permalink
Descriptive error messages made some tests fail, so removed it
Browse files Browse the repository at this point in the history
  • Loading branch information
n0rbed committed Mar 27, 2024
1 parent 6df3e59 commit 2833cf6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/linear_algebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@ function solve_for(eq, var; simplify=false, check=true) # scalar case
islinear &= Symbolics.isaffine(eq.lhs-eq.rhs, [var])
end

if !islinear
throw("solve_for is currently unable to solve non-linear equations.")
end

islinear || return nothing
# a * x + b = 0
if eq isa AbstractArray && var isa AbstractArray
Expand Down

0 comments on commit 2833cf6

Please sign in to comment.