Skip to content

Commit

Permalink
test: fix typo in NNODE tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sathvikbhagavan committed Jan 20, 2024
1 parent 5df70a8 commit 63c6733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/NNODE_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ opt = OptimizationOptimisers.Adam(0.1, (0.9, 0.95))
sol = solve(prob, NeuralPDE.NNODE(chain, opt), dt = 1 / 20.0f0, verbose = true,
abstol = 1.0f-10, maxiters = 200)

@test_throws Any solve(prob, NeuralPDE.NNODE(chain, opt; autodiff = true), dt = 1 / 20.0f0,
solve(prob, NeuralPDE.NNODE(chain, opt; autodiff = true), dt = 1 / 20.0f0,
verbose = true, abstol = 1.0f-10, maxiters = 200)

sol = solve(prob, NeuralPDE.NNODE(chain, opt), verbose = true,
Expand All @@ -26,7 +26,7 @@ sol = solve(prob, NeuralPDE.NNODE(chain, opt), verbose = true,
sol = solve(prob, NeuralPDE.NNODE(luxchain, opt), dt = 1 / 20.0f0, verbose = true,
abstol = 1.0f-10, maxiters = 200)

Any solve(prob, NeuralPDE.NNODE(luxchain, opt; autodiff = true),
solve(prob, NeuralPDE.NNODE(luxchain, opt; autodiff = true),
dt = 1 / 20.0f0,
verbose = true, abstol = 1.0f-10, maxiters = 200)

Expand Down

0 comments on commit 63c6733

Please sign in to comment.