Closed ankane closed 3 years ago
This issue appears to have been resolved by @yoshoku 's commit.
require "numo/narray"
a = Numo::Int64.cast([[1, 2, 3]])
b = Numo::DFloat.cast([[1]])
p a.dot(b)
ruby 2.7 or ruby 3.0
Numo::DFloat#shape=[1,1]
[[6]]
Awesome, thanks @yoshoku 🎉
Hi, I came across an error with the
dot
method due to the keyword argument changes in Ruby 3. Here's a minimal example to reproduce:And the stack trace:
With Ruby 2.7, there's a deprecation warning: