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

Provide a dummy for second_deriv

parent 1694cfde
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,9 @@ class NiceFunction : public VirtualFunction<double, double> {
virtual double leftDifferential(double s) const = 0;
virtual double rightDifferential(double s) const = 0;
double virtual second_deriv(double s) const = 0;
double virtual second_deriv(double x) const {
DUNE_THROW(NotImplemented, "second derivative not implemented");
}
};
class RuinaFunction : public NiceFunction {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment