Fixed Apatite.empty_matrix

This commit is contained in:
Chris Watson 2019-06-17 18:50:18 -07:00
parent b23262cc8f
commit a9db68a4dc
No known key found for this signature in database
GPG Key ID: 37DAEF5F446370A4
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ module Apatite
# `column_count`. At lease one of `row_count` or # `column_count`. At lease one of `row_count` or
# `column_count` must be zero. # `column_count` must be zero.
def empty_matrix(row_count = 0, column_count = 0) def empty_matrix(row_count = 0, column_count = 0)
Matrix.new(rows, column_count) Matrix.new(row_count, column_count)
end end
# Creates a matrix where the diagonal elements are composed of `values`. # Creates a matrix where the diagonal elements are composed of `values`.