Skip to content

CircularArrayBuffers.jl bug related to :Colon type and _buffer_frame function #14

@3rdCore

Description

@3rdCore

Hello, I re-ran my testsets after the yesterday's fix of CircularArrayBuffers.jl mentionned here and there is still a bug that I can't track and I don't think I comes from my package :

Got exception outside of a @test
  MethodError: no method matching _buffer_frame(::CircularArrayBuffers.CircularArrayBuffer{Float32, 2, Matrix{Float32}}, ::Colon)
  Closest candidates are:
    _buffer_frame(::CircularArrayBuffers.CircularArrayBuffer, ::Int64) at /home/runner/.julia/packages/CircularArrayBuffers/kB44S/src/CircularArrayBuffers.jl:89
    _buffer_frame(::CircularArrayBuffers.CircularArrayBuffer, ::AbstractArray{var"#s1", N} where {var"#s1"<:Integer, N}) at /home/runner/.julia/packages/CircularArrayBuffers/kB44S/src/CircularArrayBuffers.jl:99

This is the first time I heard about the type ::Colon. Maybe you guys can help me on this. The error was triggered when I tried to add a step to my trajectory, the only difference to my other testsets that passes is that the agent uses an A2C learner.

You can find the entire StackTrace here and the agent definition here starting line 398.

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