Skip to content

Commit 1e896ec

Browse files
fix: fix is_update_oop passed as type
1 parent 15cdaf6 commit 1e896ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/systems/problem_utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ end
822822
$(TYPEDSIGNATURES)
823823
824824
A function to be used as `update_initializeprob!` in `OverrideInitData`. Requires
825-
`is_update_oop = Val{true}` to be passed to `update_initializeprob!`.
825+
`is_update_oop = Val(true)` to be passed to `update_initializeprob!`.
826826
"""
827827
function update_initializeprob!(initprob, prob)
828828
p = get_scimlfn(prob).initialization_data.metadata.oop_reconstruct_u0_p.getter(
@@ -1062,7 +1062,7 @@ function maybe_build_initialization_problem(
10621062
return (;
10631063
initialization_data = SciMLBase.OverrideInitData(
10641064
initializeprob, update_initializeprob!, initializeprobmap,
1065-
initializeprobpmap; metadata = meta, is_update_oop = Val{true}))
1065+
initializeprobpmap; metadata = meta, is_update_oop = Val(true)))
10661066
end
10671067

10681068
"""

0 commit comments

Comments
 (0)