Skip to content
Snippets Groups Projects
Commit b38d4fb7 authored by Klaus Mosthaf's avatar Klaus Mosthaf
Browse files

Correction: The gridView_() method in the newtoncontroller may return a...

Correction: The gridView_() method in the newtoncontroller may return a reference, because the reference is on a copy of the gridview, which is stored in the problem. Trouble may be ahead, if the gridview is called as reference via the grid object.

Discussed with Markus and Bernd

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@12107 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 2189ba63
No related branches found
No related tags found
No related merge requests found
...@@ -592,7 +592,7 @@ protected: ...@@ -592,7 +592,7 @@ protected:
/*! /*!
* \brief Returns a reference to the grid view. * \brief Returns a reference to the grid view.
*/ */
const GridView gridView_() const const GridView &gridView_() const
{ return problem_().gridView(); } { return problem_().gridView(); }
/*! /*!
......
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