From f59098d1182f08594078bc458820c8ab8c972c46 Mon Sep 17 00:00:00 2001 From: marcandre Date: Fri, 3 Oct 2014 03:38:06 +0000 Subject: * lib/matrix.rb: Fix Matrix.rows copy bug. Patch by Arron Mabrey. [Fix GH-707] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/matrix.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/matrix.rb') diff --git a/lib/matrix.rb b/lib/matrix.rb index ed5390f873..45c24d1275 100644 --- a/lib/matrix.rb +++ b/lib/matrix.rb @@ -152,7 +152,7 @@ class Matrix # -1 66 # def Matrix.rows(rows, copy = true) - rows = convert_to_array(rows) + rows = convert_to_array(rows, copy) rows.map! do |row| convert_to_array(row, copy) end -- cgit v1.2.3