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
function c = step_length_correction(x,scale,i)
if isempty(scale)
c = 10^round(log10(abs(x)));
c = scale(i);
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment