From a9db68a4dc930dc56b6632809410b64c36b9821c Mon Sep 17 00:00:00 2001 From: Chris Watson Date: Mon, 17 Jun 2019 18:50:18 -0700 Subject: [PATCH] Fixed Apatite.empty_matrix --- src/apatite.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apatite.cr b/src/apatite.cr index 8a72602..56825af 100644 --- a/src/apatite.cr +++ b/src/apatite.cr @@ -86,7 +86,7 @@ module Apatite # `column_count`. At lease one of `row_count` or # `column_count` must be zero. def empty_matrix(row_count = 0, column_count = 0) - Matrix.new(rows, column_count) + Matrix.new(row_count, column_count) end # Creates a matrix where the diagonal elements are composed of `values`.