File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ function adapt_structure(to,
17
17
end
18
18
19
19
# Allow DAE adaptation for GPU kernels
20
- function adapt_structure (to, f:: SciMLBase. ODEFunction{iip} ) where {iip}
20
+ function adapt_structure (to, f:: ODEFunction{iip} ) where {iip}
21
21
# For GPU kernels, we now support DAEs with mass matrices and initialization
22
- SciMLBase . ODEFunction {iip, SciMLBase. FullSpecialize} (
22
+ ODEFunction {iip, FullSpecialize} (
23
23
f. f,
24
24
jac = f. jac,
25
25
mass_matrix = f. mass_matrix,
@@ -28,8 +28,8 @@ function adapt_structure(to, f::SciMLBase.ODEFunction{iip}) where {iip}
28
28
end
29
29
30
30
# Adapt OverrideInitData for GPU compatibility
31
- function adapt_structure (to, f:: SciMLBase. OverrideInitData )
32
- SciMLBase . OverrideInitData (
31
+ function adapt_structure (to, f:: OverrideInitData )
32
+ OverrideInitData (
33
33
adapt (to, f. initializeprob), # Also adapt initializeprob
34
34
f. update_initializeprob!,
35
35
f. initializeprobmap,
You can’t perform that action at this time.
0 commit comments