Skip to content

Commit 5c7388c

Browse files
committed
Bug fix.
1 parent c673217 commit 5c7388c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Mathematical Functions/Continuous Optimization/steepestDescent.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
return;
126126
end
127127
else%Take a step without a line search.
128-
xCur=x-d;
128+
xCur=x+d;
129129
[fValCur,gradFCur]=f(xCur);
130130
end
131131

0 commit comments

Comments
 (0)