Fixed Apatite.empty_matrix
This commit is contained in:
parent
b23262cc8f
commit
a9db68a4dc
|
@ -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`.
|
||||||
|
|
Loading…
Reference in New Issue