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

Fix type

parent 171419ad
No related branches found
No related tags found
No related merge requests found
...@@ -137,7 +137,7 @@ void minimise(Functional const J, typename Functional::SmallVector &x, ...@@ -137,7 +137,7 @@ void minimise(Functional const J, typename Functional::SmallVector &x,
for (size_t step = 0; step < steps; ++step) { for (size_t step = 0; step < steps; ++step) {
SmallVector descDir; SmallVector descDir;
double linesearchp = J.descentDirection(x, descDir); bool const linesearchp = J.descentDirection(x, descDir);
if (descDir == SmallVector(0.0)) if (descDir == SmallVector(0.0))
return; return;
......
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