Skip to content

Commit

Permalink
style: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianM-C committed Apr 7, 2024
1 parent 5b66ca3 commit e76c4b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions test/lotka_volterra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,8 @@ end
model = lotka_ude()
nn = create_ude_component(2, 2)

eqs = [
connect(model.nn_in, nn.output)
connect(model.nn_out, nn.input)
]
eqs = [connect(model.nn_in, nn.output)
connect(model.nn_out, nn.input)]

ude_sys = complete(ODESystem(
eqs, ModelingToolkit.t_nounits, systems = [model, nn], name = :ude_sys))
Expand Down Expand Up @@ -94,7 +92,6 @@ ps = (prob, sol_ref, get_vars, get_refs);

op = OptimizationProblem(of, x0, (prob, sol_ref, get_vars, get_refs))


# using Plots

# oh = []
Expand Down
4 changes: 2 additions & 2 deletions test/qa.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ using UDEComponents
using Aqua
using JET

@testset verbose = true "Code quality (Aqua.jl)" begin
@testset verbose=true "Code quality (Aqua.jl)" begin
Aqua.find_persistent_tasks_deps(UDEComponents)
Aqua.test_ambiguities(UDEComponents, recursive = false)
Aqua.test_deps_compat(UDEComponents)
# TODO: fix type piracy in propagate_ndims and propagate_shape
Aqua.test_piracies(UDEComponents, broken=true)
Aqua.test_piracies(UDEComponents, broken = true)
Aqua.test_project_extras(UDEComponents)
Aqua.test_stale_deps(UDEComponents, ignore = Symbol[])
Aqua.test_unbound_args(UDEComponents)
Expand Down

0 comments on commit e76c4b5

Please sign in to comment.