Skip to content

no method matching MersenneTwister(::typeof(abs2), ::Array{Complex{Float64},1}) #227

Closed
@baggepinnen

Description

@baggepinnen

I suddenly got a mysterious error on CI from a call to Zygote.gradient

LoadError: MethodError: no method matching MersenneTwister(::typeof(abs2), ::Array{Complex{Float64},1})

I haven't touched the code that threw the error in a long time so something must have gone wild in Zygote or ChainRules
link to CI failure: https://github.com/baggepinnen/SpectralDistances.jl/runs/840227039#step:4:721
link to failing call: https://github.com/baggepinnen/SpectralDistances.jl/blob/master/test/test_diff.jl#L204

Probably caused by 697e7e4

julia version 1.4.2
Installed ChainRules ─────────────────── v0.7.5
Installed Zygote ─────────────────────── v0.5.2
Installed ZygoteRules ────────────────── v0.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions