Skip to content
Snippets Groups Projects
Commit bcda054e authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix constructor argument.

It inferred wrong template deduction for index type
For instance
``
SparseMatrixDescriptor S(5);
``
implied `SparseMatrixDescriptor::IndexType` to be `int`
parent 90ac3e2c
No related branches found
No related tags found
1 merge request!26Feature/linear systems
...@@ -137,7 +137,7 @@ class SparseMatrixDescriptor ...@@ -137,7 +137,7 @@ class SparseMatrixDescriptor
return values; return values;
} }
SparseMatrixDescriptor(IndexType nb_row) : m_row_array{nb_row} {} SparseMatrixDescriptor(size_t nb_row) : m_row_array{nb_row} {}
~SparseMatrixDescriptor() = default; ~SparseMatrixDescriptor() = default;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment