Skip to content

Commit b5f8fa6

Browse files
All necessary fallbacks to the interface definition
This fixes a DiffEqBase type piracy that was relied on downstream.
1 parent 98bb9e6 commit b5f8fa6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/interface.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ UniformScaling,
251251
Factorization, # Base
252252
Number}) = true
253253
isconstant(L::AbstractSciMLOperator) = all(isconstant, getops(L))
254+
isconstant(L) = false
254255

255256
"""
256257
isconvertible(L) -> Bool
@@ -307,6 +308,7 @@ $SIGNATURES
307308
Checks if `L` is a linear operator.
308309
"""
309310
islinear(::AbstractSciMLOperator) = false
311+
islinear(L) = false
310312

311313
islinear(::Union{# LinearAlgebra
312314
AbstractMatrix,

0 commit comments

Comments
 (0)