Skip to content

Commit 13558a5

Browse files
Merge pull request #260 from SciML/ChrisRackauckas-patch-1
All necessary fallbacks to the interface definition
2 parents 98bb9e6 + b5f8fa6 commit 13558a5

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)