diff --git a/src/wrapper.c b/src/wrapper.c index 7ef79ae7e898f728d8b31701f4953b9c47de3649..58f8ffffc003820a90a6c7e323bcf31864ba8976 100644 --- a/src/wrapper.c +++ b/src/wrapper.c @@ -54,6 +54,7 @@ PyMODINIT_FUNC PyInit_wrapper(void) { PyObject *m; + clocks_set_cpufreq(0); import_array(); Py_Initialize(); m = PyModule_Create(&wrapper_cmodule); diff --git a/test/test_cooling.py b/test/test_cooling.py index e2a8c6f392aa39af17e9ead3be6f5f122730385f..43148ce9a7e875bf9a747afc8e7847d605a3c845 100644 --- a/test/test_cooling.py +++ b/test/test_cooling.py @@ -19,8 +19,8 @@ gamma = 5. / 3. filename = "test/cooling.yml" # number of points -N_rho = 3000 -N_T = 3000 +N_rho = 300 +N_T = 300 # density in atom / cm3 if N_rho == 1: