diff options
author | HampusM <hampus@hampusmat.com> | 2022-02-13 20:55:06 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-02-13 20:55:06 +0100 |
commit | 9147551cd21d565f9503e3ebbcd2121e284d88d5 (patch) | |
tree | 029eb769eee4653a5d318881501a0358d1ae2927 /src/engine | |
parent | 176d6141c87a180b251bacaee656808bad17498b (diff) |
style: fix curly positions & delete unused include
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/matrix.tpp | 4 |
1 files changed, 4 insertions, 0 deletions
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<Element>::fill(Element element) std::vector<Element> row_vector = _matrix[row]; for (unsigned int column = 0U; column < row_vector.capacity(); column++) + { _matrix[row][column] = element; + } } } @@ -29,7 +31,9 @@ void Matrix<Element>::print() for (std::vector<Element> row : _matrix) { for (Element element : row) + { std::cout << element; + } std::cout << "\n"; } |