Skip to content

Commit ae841ce

Browse files
authored
Merge branch 'master' into isconcrete
2 parents b01cd28 + f169b36 commit ae841ce

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/interface.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,15 @@ for op in (
453453
end
454454
end
455455

456+
for op in (
457+
:sum, :prod,
458+
)
459+
@eval function Base.$op(L::AbstractSciMLOperator; kwargs...)
460+
@warn """using convert-based fallback in $($op)."""
461+
$op(convert(AbstractMatrix, L); kwargs...)
462+
end
463+
end
464+
456465
for pred in (
457466
:issymmetric,
458467
:ishermitian,

0 commit comments

Comments
 (0)