Skip to content

warning: undefining the allocator of T_DATA class NArray #214

@forthrin

Description

@forthrin

How can this warning be silenced?

/opt/homebrew/lib/ruby/gems/3.3.0/gems/narray-0.6.1.2/narray/narray_ext.rb:15:

class NArray
  def self.cast(array,type=nil)
    case array
    when NArray
    when Array
      array = NArray.to_na(array) # warning: undefining the allocator of T_DATA class NArray

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