Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.
This repository was archived by the owner on May 12, 2026. It is now read-only.

DEDataArray factorization overloads cause type ambiguity errors #648

@bgroenks96

Description

@bgroenks96

I'm not sure if this is intended or not, but it appears that the existing DEDataArray factorization overloads cause type ambiguity errors for stiff solvers, e.g:

LinearAlgebra.ldiv!(F::Factorization, B::DEDataArray) = ldiv!(F, B.x)

causes a type ambiguity error with the the LU factorization methods in LinearAlgebra because DEDataArray is more specific than AbstractArray but Factorization is less specific than LU.

This forces the user to define their own more specific method to resolve the ambiguity, which kind of seems to nullify the point of providing this method in the first place...?

Shouldn't these functions "just work" without these ambiguous overloads since DEDataArray is already an AbstractArray?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions