-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Labels
LinearOperatorsFor issues relating to defining linear operators on AbstractDifferentialsFor issues relating to defining linear operators on AbstractDifferentialsbugSomething isn't workingSomething isn't working
Description
This method is type piracy:
ChainRulesCore.jl/src/tangent_types/thunks.jl
Lines 65 to 67 in 486922d
| function LinearAlgebra.diagm(m, n, kv::Pair{<:Integer,<:AbstractThunk}...) | |
| return diagm(m, n, (k => unthunk(v) for (k, v) in kv)...) | |
| end |
In particular, it is inadvertently adding a fallback diagm(m::Any, n::Any) definition. e.g. this leads to odd error messages as in this discourse thread.
Metadata
Metadata
Assignees
Labels
LinearOperatorsFor issues relating to defining linear operators on AbstractDifferentialsFor issues relating to defining linear operators on AbstractDifferentialsbugSomething isn't workingSomething isn't working