Skip to content

Commit

Permalink
Fixed typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaskl97 committed Mar 22, 2024
1 parent 6e9732b commit b5f9226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NeuralLyapunovPDESystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ function _NeuralLyapunovPDESystem(
end

# NeuralPDE requires an equation and a boundary condition, even if they are
# trivial like 0.0 == 0.0, so we remove those trivial equations when they showed up
# naturally alongside other equations and them in we're left with no other DifferentialEquations
# trivial like 0.0 == 0.0, so we remove those trivial equations if they showed up
# naturally alongside other equations and add them in if we have no other equations
eqs = filter(eq -> eq != (0.0 ~ 0.0), eqs)
bcs = filter(eq -> eq != (0.0 ~ 0.0), bcs)

Expand Down

0 comments on commit b5f9226

Please sign in to comment.