Commit 766a697e authored by Oliver Sander's avatar Oliver Sander
Browse files

[bugfix] method directionalSubDiff must be const

parent ceadb798
......@@ -106,7 +106,7 @@ namespace Dune {
* \param u base point
* \param v direction
*/
virtual void directionalSubDiff(const VectorType& u, const VectorType& v, Dune::Solvers::Interval<double>& subdifferential)
virtual void directionalSubDiff(const VectorType& u, const VectorType& v, Dune::Solvers::Interval<double>& subdifferential) const
{
subdifferential[0] = 0.0;
subdifferential[1] = 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