This commit is contained in:
Chris Watson 2019-06-17 18:52:28 -07:00
parent a9db68a4dc
commit 8e8a72345c
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(row_count, column_count) Matrix.empty(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`.