Skip to content
Snippets Groups Projects
Commit bd3e90a4 authored by Elias Pipping's avatar Elias Pipping
Browse files

[Cleanup] Pass norm by reference

parent f8b446d4
No related branches found
No related tags found
No related merge requests found
...@@ -226,7 +226,7 @@ int main(int argc, char *argv[]) { ...@@ -226,7 +226,7 @@ int main(int argc, char *argv[]) {
// TODO: clean up once generic lambdas arrive // TODO: clean up once generic lambdas arrive
auto const solveLinearProblem = [&]( auto const solveLinearProblem = [&](
Dune::BitSetVector<dims> const &_dirichletNodes, Matrix const &_matrix, Dune::BitSetVector<dims> const &_dirichletNodes, Matrix const &_matrix,
Vector const &_rhs, Vector &_x, EnergyNorm<Matrix, Vector> _norm, Vector const &_rhs, Vector &_x, EnergyNorm<Matrix, Vector> const &_norm,
Dune::ParameterTree const &_localParset) { Dune::ParameterTree const &_localParset) {
LinearFactory factory(parset.sub("solver.tnnmg"), // FIXME LinearFactory factory(parset.sub("solver.tnnmg"), // FIXME
refinements, *grid, _dirichletNodes); refinements, *grid, _dirichletNodes);
......
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