Skip to content

Using Plots.jl before LinearAlgebra affects hasmethod for norm #58362

Open
@frankwswang

Description

@frankwswang
julia> using LinearAlgebra # v1.11.5

julia> hasmethod(LinearAlgebra.norm, NTuple{1, T} where {T<:Union{}})
true

Restart Julia REPL:

julia> using Plots # v1.40.10
                                                                 
julia> using LinearAlgebra # v1.11.5                                 

julia> hasmethod(LinearAlgebra.norm, NTuple{1, T} where {T<:Union{}})
false  

System info:

Julia Version 1.11.5
Commit 760b2e5b73 (2025-04-14 06:53 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 18 × 12th Gen Intel(R) Core(TM) i9-12900HK
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, alderlake)
Threads: 1 default, 0 interactive, 1 GC (on 18 virtual cores)

Metadata

Metadata

Assignees

No one assigned

    Labels

    types and dispatchTypes, subtyping and method dispatch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions