Commit 38ff5b82 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[math][trace] remove unused variable

parent ec91f5e7
...@@ -606,9 +606,8 @@ template <class Scalar> ...@@ -606,9 +606,8 @@ template <class Scalar>
Scalar trace(const Dune::DynamicMatrix<Scalar>& M) Scalar trace(const Dune::DynamicMatrix<Scalar>& M)
{ {
std::size_t rows_T = M.M(); std::size_t rows_T = M.M();
std::size_t cols_T = M.N();
DUNE_ASSERT_BOUNDS(rows_T == cols_T); DUNE_ASSERT_BOUNDS(rows_T == M.N());
Scalar trace = 0.0; Scalar trace = 0.0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment