Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
7f42c667
Commit
7f42c667
authored
Sep 24, 2012
by
Stéphane Adjemian
Browse files
Fixed bug. Added missing routine which set the step length when computing a numerical gradient.
parent
7e3fbe0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/step_length_correction.m
0 → 100644
View file @
7f42c667
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment