Skip to content
Snippets Groups Projects
Commit d90ea0ce authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/return-reference-to-local-coords-grid-function' into 'master'

Do not return a reference to a local variable in CoordsGridFunction

See merge request amdis/amdis!195
parents 1afde968 7319996e
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ namespace AMDiS
struct Derivative
{
template <class T, int N>
Dune::DiagonalMatrix<T, N> const& operator()(Dune::FieldVector<T, N> const& /*x*/) const
Dune::DiagonalMatrix<T, N> operator()(Dune::FieldVector<T, N> const& /*x*/) const
{
return Dune::DiagonalMatrix<T,N>{T(1)};
}
......
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