Closed ankane closed 4 years ago
Your idea is implemented: https://github.com/ruby-numo/numo-narray/commit/29c5c1340c1e52f541a8055b14a87d521e10c62b
Thanks @masa16! However, I'm still seeing TypeError: invalid type for NArray
with the example above in 0.9.1.8.
Thanks @masa16, looks like that last commit fixed it!
Hi, small thing, but it'd be great if
cast
worked with any object that responds toto_a
. Currently, it throwsTypeError: invalid type for NArray
. Here's an example with Daru: