ruby-numo / numo-linalg

Linear Algebra Library for Ruby/Numo::NArray
BSD 3-Clause "New" or "Revised" License
38 stars 9 forks source link

Crash when array is nil #2

Closed kojix2 closed 8 years ago

kojix2 commented 8 years ago
require 'numo/narray'
require 'numo/linalg'
a = nil
b = Numo::DFloat.new(3,3).seq

Numo::Linalg.matmul(a,b)
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

中止 (コアダンプ)
masa16 commented 8 years ago

This is a bug in NArray: https://github.com/ruby-numo/narray/commit/4039dfbe8988d3fee65a69821f16c242643a525f

kojix2 commented 8 years ago

Thank you!