Skip to content

Commit

Permalink
test: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Oct 17, 2024
1 parent ac4a16b commit 8e5f556
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/IDE_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ end
@test mean(abs2, u_real .- u_predict) < 0.01
end

@testset "IntegroDiff Example 5 -- 1 Input, 2 Outputs" tags=[:integrodiff] setup=[IntegroDiffTestSetup] begin
@testitem "IntegroDiff Example 5 -- 1 Input, 2 Outputs" tags=[:integrodiff] setup=[IntegroDiffTestSetup] begin
using Optimization, Optimisers, DomainSets, Lux, Random, Statistics
import ModelingToolkit: Interval, infimum, supremum
import OptimizationOptimJL: BFGS
Expand Down
2 changes: 1 addition & 1 deletion test/NNODE_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ end
@testset "$(nameof(typeof(strategy)))" for strategy in [
GridTraining(0.01),
StochasticTraining(1000),
QuadratureTraining(reltol = 1e-3, abstol = 1e-6, maxiters = 50, batch = 100),
QuadratureTraining(reltol = 1e-3, abstol = 1e-6, maxiters = 50, batch = 100)
]
alg = NNODE(luxchain, opt; additional_loss, strategy)
sol = solve(prob, alg; verbose = false, maxiters = 500, abstol = 1e-6)
Expand Down
2 changes: 1 addition & 1 deletion test/direct_function_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
res = solve(prob, Adam(0.05), maxiters = 1000)
prob = remake(prob, u0 = res.u)
res = solve(prob, BFGS(initial_stepnorm = 0.01), maxiters = 500)

@test discretization.phi(xs', res.u)func(xs') rtol=0.01
end

Expand Down

0 comments on commit 8e5f556

Please sign in to comment.