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

Do not copy the functional

parent d1bac0c4
No related branches found
No related tags found
No related merge requests found
...@@ -134,7 +134,7 @@ template <int dim> class SampleFunctional { ...@@ -134,7 +134,7 @@ template <int dim> class SampleFunctional {
}; };
template <class Functional> template <class Functional>
void minimise(Functional const J, typename Functional::SmallVector &x, void minimise(Functional const &J, typename Functional::SmallVector &x,
size_t steps, Bisection const &bisection) { size_t steps, Bisection const &bisection) {
typedef typename Functional::SmallVector SmallVector; typedef typename Functional::SmallVector SmallVector;
......
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