Skip to content
Snippets Groups Projects
Commit 15ab0149 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Avoid calls to std::sqrt(x) near x=0 in method 'exp'

Because ADOL-C doesn't like calls to sqrt(0), obviously.
The use of sqrt(x) for small x can be avoided completely
using modified series expansions, because the overall
function exp is differentiable even at x=0.

[[Imported from SVN: r9426]]
parent aaaed353
No related branches found
No related tags found
No related merge requests found
Loading
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