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

Use 'fmin' instead of 'min', and 'fmax' instead of 'max'

[[Imported from SVN: r9721]]
parent ab8f0c59
Branches
No related tags found
No related merge requests found
......@@ -4,11 +4,11 @@
#include <limits>
adouble min_hack(const adouble& a, const adouble& b) {
return min(a,b);
return fmin(a,b);
}
adouble max_hack(const adouble& a, const adouble& b) {
return max(a,b);
return fmax(a,b);
}
adouble sqrt_hack(adouble a) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment