From 9147551cd21d565f9503e3ebbcd2121e284d88d5 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 13 Feb 2022 20:55:06 +0100 Subject: style: fix curly positions & delete unused include --- src/engine/matrix.tpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/engine/matrix.tpp') diff --git a/src/engine/matrix.tpp b/src/engine/matrix.tpp index b9fa495..bddf76a 100644 --- a/src/engine/matrix.tpp +++ b/src/engine/matrix.tpp @@ -19,7 +19,9 @@ void Matrix::fill(Element element) std::vector row_vector = _matrix[row]; for (unsigned int column = 0U; column < row_vector.capacity(); column++) + { _matrix[row][column] = element; + } } } @@ -29,7 +31,9 @@ void Matrix::print() for (std::vector row : _matrix) { for (Element element : row) + { std::cout << element; + } std::cout << "\n"; } -- cgit v1.2.3-18-g5258