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

Drop obsolete inheritance

parent 734aa557
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
#include <dune/common/function.hh>
namespace Dune {
class NiceFunction : public VirtualFunction<double, double> {
class NiceFunction {
public:
virtual ~NiceFunction() {}
......@@ -26,6 +26,8 @@ class NiceFunction : public VirtualFunction<double, double> {
// Whether H(|.|) is smooth at zero
bool virtual smoothesNorm() const { return false; }
void virtual evaluate(double const &x, double &y) const = 0;
};
class RuinaFunction : public NiceFunction {
......
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