Skip to content

calling a module homomorphism is type-unstable #2442

Description

@matthias314

MWE:

julia> using AbstractAlgebra, Test

julia> M = FreeModule(ZZ, 1);

julia> f = ModuleHomomorphism(M, M, identity_matrix(ZZ, 1));

julia> m = only(gens(M));

julia> @inferred f(m)
ERROR: return type AbstractAlgebra.Generic.FreeModuleElem{BigInt} does not match inferred return type Any

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions