Skip to content

Commit bad2665

Browse files
refactor: update remake_initializeprob fallback
1 parent 5352513 commit bad2665

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/remake.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,12 @@ if it does.
213213
Note that `u0` or `p` may be `missing` if the user does not provide a value for them.
214214
"""
215215
function remake_initializeprob(sys, scimlfn, u0, t0, p)
216-
if !has_initializeprob(scimlfn)
216+
if !has_initialization_data(scimlfn)
217217
return nothing, nothing, nothing, nothing
218218
end
219-
return scimlfn.initializeprob,
220-
scimlfn.update_initializeprob!, scimlfn.initializeprobmap, scimlfn.initializeprobpmap
219+
initdata = scimlfn.initialization_data
220+
return initdata.initializeprob, initdata.update_initializeprob!,
221+
initdata.initializeprobmap, initdata.initializeprobpmap
221222
end
222223

223224
"""

0 commit comments

Comments
 (0)