Bug #2107

Matrix: 1/any_matrix bug (fixed)

Added by Marc-Andre Lafortune over 2 years ago. Updated 10 months ago.

Status:Closed Start date:09/17/2009
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:Ruby 1.8.8
ruby -v:ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]

Description

> ruby -r matrix -e "p 1/Matrix[[1]]"

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/matrix.rb:931:in `/': undefined local variable or method `_M' for #<Matrix::Scalar:0x1001199b8 @value=1> (NameError)
	from -e:1

Fixed in revision 24953

http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24953

History

Updated by Marc-Andre Lafortune over 2 years ago

  • Status changed from Open to Closed
  • Target version set to Ruby 1.8.8

Also available in: Atom PDF