diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/util/util_math_cdf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/util/util_math_cdf.h b/intern/cycles/util/util_math_cdf.h index 6a8af7741f9..47dfb68ba44 100644 --- a/intern/cycles/util/util_math_cdf.h +++ b/intern/cycles/util/util_math_cdf.h @@ -28,7 +28,7 @@ template <typename Functor> void util_cdf_evaluate(const int resolution, const float from, const float to, - const Functor functor, + Functor functor, vector<float> &cdf) { const int cdf_count = resolution + 1; @@ -60,7 +60,7 @@ template <typename Functor> void util_cdf_inverted(const int resolution, const float from, const float to, - const Functor functor, + Functor functor, const bool make_symmetric, vector<float> &inv_cdf) { |