[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dennou-ruby:002982] [bug] narray_miss.rb (CVS)
- To: dennou-ruby@xxxxxxxxxxx
- Subject: [dennou-ruby:002982] [bug] narray_miss.rb (CVS)
- From: KOSHIRO Tsuyoshi <koshiro@xxxxxxxxxxxxxx>
- Date: Thu, 17 Jul 2008 10:40:52 +0900
神代です.
NArrayMiss のバグ報告です.
(NArrayMiss)*(NArray) の掛け算をすると, CVS版では 以下のようなエラーに
なります. リリース版の 1.1.2 では正しく動きます.
解決方法はよくわかりませんでした. 報告だけですみません.
irb(main):001:0> require "narray_miss"
=> true
irb(main):002:0> a = NArrayMiss[2.0]
=> NArrayMiss.float(1):
[ 2.0 ]
irb(main):003:0> b = NArray[3.0]
=> NArray.float(1):
[ 3.0 ]
irb(main):004:0> a*b
NoMethodError: undefined method `dump' for NArray.float(1):
[ 3.0 ]:NArray
from /usr/local/lib/site_ruby/1.8/narray_miss.rb:1288:in `routine1'
from /usr/local/lib/site_ruby/1.8/narray_miss.rb:380:in `*'
from (irb):4