Skip to content

Commit 84b56c6

Browse files
authored
Merge pull request #208 from SciML/vpuri3-patch-1
clean up convert-based fallbacks
2 parents e29e57b + b8f9ea8 commit 84b56c6

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/interface.jl

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -384,20 +384,11 @@ for pred in (
384384
:isposdef,
385385
)
386386
@eval function LinearAlgebra.$pred(L::AbstractSciMLOperator)
387-
@warn """using convert-based fallback in $pred."""
387+
@warn """using convert-based fallback in $($pred)."""
388388
$pred(convert(AbstractMatrix, L))
389389
end
390390
end
391391

392-
for op in (
393-
:sum,:prod
394-
)
395-
@eval function LinearAlgebra.$op(L::AbstractSciMLOperator; kwargs...)
396-
@warn """using convert-based fallback in $op."""
397-
$op(convert(AbstractMatrix, L); kwargs...)
398-
end
399-
end
400-
401392
function LinearAlgebra.mul!(v::AbstractArray, L::AbstractSciMLOperator, u::AbstractArray)
402393
@warn """using convert-based fallback in mul!."""
403394
mul!(v, convert(AbstractMatrix, L), u)

0 commit comments

Comments
 (0)