From 41732fc1925368c383755d3faae747651ff5669a Mon Sep 17 00:00:00 2001
From: Niklas Schnierstein <schni@draco02.mpcdf.mpg.de>
Date: Tue, 28 Jan 2020 15:43:51 +0100
Subject: [PATCH] fixed time scale...again

---
 cpp/full_code/ornstein_uhlenbeck_process.hpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/cpp/full_code/ornstein_uhlenbeck_process.hpp b/cpp/full_code/ornstein_uhlenbeck_process.hpp
index 2d264121..750c3ccc 100644
--- a/cpp/full_code/ornstein_uhlenbeck_process.hpp
+++ b/cpp/full_code/ornstein_uhlenbeck_process.hpp
@@ -52,10 +52,8 @@ class ornstein_uhlenbeck_process{
 
         inline double gamma(double kabs)
         {
-            return this->kolmogorov_constant*sqrt(this->kolmogorov_constant/
+            return pow(kabs,2./3.)*this->kolmogorov_constant*sqrt(this->kolmogorov_constant/
                            this->ou_energy_amplitude);
-            //return 1./10.*pow(kabs,2./3.)*this->kolmogorov_constant*sqrt(this->kolmogorov_constant/
-            //               this->ou_energy_amplitude); //TODO take out 10
         }
         
 
-- 
GitLab