-
Notifications
You must be signed in to change notification settings - Fork 121
Closed
Description
I've been working on adding Unitful support to FiniteDifferences.jl in JuliaDiff/FiniteDifferences.jl#244, and ran into this issue when running the test suite of the package. The method
Lines 143 to 145 in c1a9b4e
@inline unit(x::Type{T}) where {T <: Number} = NoUnits | |
@inline unit(x::Type{Union{Missing, T}}) where T = unit(T) | |
@inline unit(x::Type{Missing}) = missing |
utils.jl
is causing stack overflow, probably because of the methods immediately surrounding it. Why does this method exist, if we already have separate methods for Missing
and T <: Any
? To prefer T != Missing
, if it exists?
Anyways, here is the total output of the FiniteDifferences.jl test suite for reference: test.out.txt.
Metadata
Metadata
Assignees
Labels
No labels