Skip to content
Snippets Groups Projects
Commit 7f42c667 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug. Added missing routine which set the step length when computing a numerical gradient.

parent 7e3fbe0b
No related branches found
No related tags found
No related merge requests found
function c = step_length_correction(x,scale,i)
if isempty(scale)
c = 10^round(log10(abs(x)));
else
c = scale(i);
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment