Skip to content

Commit

Permalink
fixup! refactor: correctly lower quadrature training strategy in NNODE
Browse files Browse the repository at this point in the history
  • Loading branch information
sathvikbhagavan committed Mar 21, 2024
1 parent 2ceaa01 commit 8f82879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ode_solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ end

function generate_phi_θ(chain::Lux.AbstractExplicitLayer, t, u0, init_params)
θ, st = Lux.setup(Random.default_rng(), chain)
isnothing(init_params) && init_params = θ
isnothing(init_params) && (init_params = θ)
ODEPhi(chain, t, u0, st), init_params
end

Expand Down

0 comments on commit 8f82879

Please sign in to comment.