Skip to content

Commit

Permalink
Merge pull request #466 from Keno/kf/typename
Browse files Browse the repository at this point in the history
Don't use type-printing from inside a generated function
  • Loading branch information
ChrisRackauckas authored Feb 11, 2024
2 parents 26d6c19 + 5525694 commit 0598671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/default.jl
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ cache.cacheval = NamedTuple(LUFactorization = cache of LUFactorization, ...)
end

function defaultalg_symbol(::Type{T}) where {T}
Symbol(split(string(SciMLBase.parameterless_type(T)), ".")[end])
Base.typename(SciMLBase.parameterless_type(T)).name
end
defaultalg_symbol(::Type{<:GenericFactorization{typeof(ldlt!)}}) = :LDLtFactorization

Expand Down

0 comments on commit 0598671

Please sign in to comment.