You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/nmatrix-0.2.4/lib/nmatrix/shortcuts.rb:203: warning: Using the last argument as keyword parameters is deprecated
/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/nmatrix-0.2.4/lib/nmatrix/shortcuts.rb:233: warning: Using the last argument as keyword parameters is deprecated
Those are the methods NMatrix::[] and NMatrix.zeros. The fixes are trivial. For example, NMatrix.zeros could be changed to:
def zeros(shape, **opts)
NMatrix.new(shape, 0, **{:dtype => :float64}.merge(opts))
end
The text was updated successfully, but these errors were encountered:
I ran across it in these two spots:
Those are the methods
NMatrix::[]
andNMatrix.zeros
. The fixes are trivial. For example,NMatrix.zeros
could be changed to:The text was updated successfully, but these errors were encountered: