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

Fix warning: unused parameter

parent 61221a9c
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ class SampleFunctional : public SmallFunctional<2> { ...@@ -31,7 +31,7 @@ class SampleFunctional : public SmallFunctional<2> {
return y; return y;
} }
SmallMatrix d2(const SmallVector v) const { return A_; } SmallMatrix d2(const SmallVector) const { return A_; }
private: private:
SmallMatrix A_; SmallMatrix A_;
......
...@@ -37,7 +37,7 @@ class SampleFunctional : public SmallFunctional<dimension> { ...@@ -37,7 +37,7 @@ class SampleFunctional : public SmallFunctional<dimension> {
return y; return y;
} }
SmallMatrix d2(const SmallVector v) const { return A_; } SmallMatrix d2(const SmallVector) const { return A_; }
// extending the interface here // extending the interface here
double directionalDerivative(const SmallVector x, double directionalDerivative(const SmallVector x,
......
...@@ -35,7 +35,7 @@ class SampleFunctional : public SmallFunctional<dimension> { ...@@ -35,7 +35,7 @@ class SampleFunctional : public SmallFunctional<dimension> {
return y; return y;
} }
SmallMatrix d2(const SmallVector v) const { return A_; } SmallMatrix d2(const SmallVector) const { return A_; }
private: private:
SmallMatrix A_; SmallMatrix A_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment