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

Also inject 'log'

[[Imported from SVN: r9864]]
parent 42b8c7e4
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,10 @@ adouble abs_hack(adouble a) {
return fabs(a);
}
adouble log_hack(adouble a) {
return log(a);
}
adouble pow_hack(const adouble& a, const adouble& b) {
return pow(a,b);
}
......@@ -52,6 +56,10 @@ namespace std
return abs_hack(a);
}
adouble log(adouble a) {
return log_hack(a);
}
adouble pow(const adouble& a, const adouble& b) {
return pow_hack(a,b);
}
......
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