Skip to content
Snippets Groups Projects
Commit 474ccfb8 authored by Lisa Julia Nebel's avatar Lisa Julia Nebel
Browse files

Use Dune::ScaledIdentityMatrix<field_type, blocksize> instead of Dune::FieldMatrix<field_type,1,1>

parent d474b99b
No related branches found
No related tags found
No related merge requests found
Pipeline #11204 failed
......@@ -62,7 +62,7 @@ class TrustRegionSolver
// Some types that I need
typedef Dune::BCRSMatrix<Dune::FieldMatrix<field_type, blocksize, blocksize> > MatrixType;
typedef Dune::BCRSMatrix<Dune::FieldMatrix<field_type,1,1> > ScalarMatrixType;
typedef Dune::BCRSMatrix<Dune::ScaledIdentityMatrix<field_type, blocksize>> ScalarMatrixType;
typedef Dune::BlockVector<Dune::FieldVector<field_type, blocksize> > CorrectionType;
typedef VectorType SolutionType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment