Skip to content

Commit

Permalink
Merge pull request #875 from vyudu/main
Browse files Browse the repository at this point in the history
switch ArrayInterfaceCore to ArrayInterface in some places
  • Loading branch information
ChrisRackauckas authored Nov 30, 2024
2 parents f939a5f + 4e19616 commit aa61028
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/scimlfunctions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4095,15 +4095,15 @@ function BVPFunction{iip, specialize, twopoint}(f, bc;
end

if jac_prototype !== nothing && colorvec === nothing &&
ArrayInterfaceCore.fast_matrix_colors(jac_prototype)
_colorvec = ArrayInterfaceCore.matrix_colors(jac_prototype)
ArrayInterface.fast_matrix_colors(jac_prototype)
_colorvec = ArrayInterface.matrix_colors(jac_prototype)
else
_colorvec = colorvec
end

if bcjac_prototype !== nothing && bccolorvec === nothing &&
ArrayInterfaceCore.fast_matrix_colors(bcjac_prototype)
_bccolorvec = ArrayInterfaceCore.matrix_colors(bcjac_prototype)
ArrayInterface.fast_matrix_colors(bcjac_prototype)
_bccolorvec = ArrayInterface.matrix_colors(bcjac_prototype)
else
_bccolorvec = bccolorvec
end
Expand Down Expand Up @@ -4268,15 +4268,15 @@ function DynamicalBVPFunction{iip, specialize, twopoint}(f, bc;
end

if jac_prototype !== nothing && colorvec === nothing &&
ArrayInterfaceCore.fast_matrix_colors(jac_prototype)
_colorvec = ArrayInterfaceCore.matrix_colors(jac_prototype)
ArrayInterface.fast_matrix_colors(jac_prototype)
_colorvec = ArrayInterface.matrix_colors(jac_prototype)
else
_colorvec = colorvec
end

if bcjac_prototype !== nothing && bccolorvec === nothing &&
ArrayInterfaceCore.fast_matrix_colors(bcjac_prototype)
_bccolorvec = ArrayInterfaceCore.matrix_colors(bcjac_prototype)
ArrayInterface.fast_matrix_colors(bcjac_prototype)
_bccolorvec = ArrayInterface.matrix_colors(bcjac_prototype)
else
_bccolorvec = bccolorvec
end
Expand Down

0 comments on commit aa61028

Please sign in to comment.