Skip to content

Commit 027890f

Browse files
committed
Apply code formatting
1 parent 1426e5a commit 027890f

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/structures/generic/matrix.h

+3-9
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,13 @@ template <class T> class Matrix {
2222
std::vector<T> data;
2323

2424
public:
25-
Matrix()
26-
: Matrix(0)
27-
{
25+
Matrix() : Matrix(0) {
2826
}
2927

30-
explicit Matrix(std::size_t n)
31-
: Matrix(n, 0)
32-
{
28+
explicit Matrix(std::size_t n) : Matrix(n, 0) {
3329
}
3430

35-
Matrix(std::size_t n, T value)
36-
: n(n), data(n * n, value)
37-
{
31+
Matrix(std::size_t n, T value) : n(n), data(n * n, value) {
3832
}
3933

4034
Matrix<T> get_sub_matrix(const std::vector<Index>& indices) const {

0 commit comments

Comments
 (0)