summaryrefslogtreecommitdiff
path: root/lib/matrix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/matrix.rb')
-rw-r--r--lib/matrix.rb2
1 files changed, 1 insertions, 1 deletions
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