Skip to content

Method overwriting in main #403

@AFeuerpfeil

Description

@AFeuerpfeil

Currently, when precompiling MPSKit.jl on the main branch, one gets a precompilation error due to method overwriting with TensorOperations.jl. I don't know whether this was accidental or necessary to push the refactor of the AC(2)_hamiltonian's through:

WARNING: Method definition allocation_size(Type{T}, Int64) where {T} in module TensorOperations at /home/afeuerpfeil/.julia/packages/TensorOperations/W0zHH/src/implementation/allocator.jl:261 overwritten in module MPSKit at /home/afeuerpfeil/.julia/packages/MPSKit/AUDQL/src/utility/utility.jl:354.
ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.

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