Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning: undefining the allocator of T_DATA class NArray #214

Open
forthrin opened this issue Feb 25, 2024 · 0 comments
Open

warning: undefining the allocator of T_DATA class NArray #214

forthrin opened this issue Feb 25, 2024 · 0 comments

Comments

@forthrin
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant