From 4e82b1105d28adf15cb8fabd2bedacbf13846107 Mon Sep 17 00:00:00 2001 From: Maximilian Schmidt <max.schmidt@fz-juelich.de> Date: Thu, 7 Jun 2018 09:35:12 +0900 Subject: [PATCH] Set load_list to empty list per default, Fix problem with integer exponent in utils.py --- figures/SchueckerSchmidt2017/stabilization.py | 4 ++-- figures/SchueckerSchmidt2017/utils.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/figures/SchueckerSchmidt2017/stabilization.py b/figures/SchueckerSchmidt2017/stabilization.py index 1e8047a..dc6f682 100644 --- a/figures/SchueckerSchmidt2017/stabilization.py +++ b/figures/SchueckerSchmidt2017/stabilization.py @@ -32,12 +32,12 @@ M_target = MultiAreaModel(network_params_target, theory=True, theory_spec=theory_params) THREADS = 4 -load_list = [1, 2, 3, 4] +load_list = [] # This list defines which of the detected minima of the velocity # vector is identified as the unstable fixed point. It has to be # created manually. -ind_list = [1, 1, 0, 1] +ind_list = [] """ Main loop diff --git a/figures/SchueckerSchmidt2017/utils.py b/figures/SchueckerSchmidt2017/utils.py index 556bd57..ef8e03a 100644 --- a/figures/SchueckerSchmidt2017/utils.py +++ b/figures/SchueckerSchmidt2017/utils.py @@ -118,7 +118,7 @@ def compute_iteration(max_iter, fac_nu_ext_5E_list, theory_params, M_base, threa fac_nu_ext_5E_list = np.arange(fac_nu_ext_5E_list[i], # to ensure that the array includes the last value, we add a small epsilon fac_nu_ext_5E_list[i+1] + 1.e-10, - 10**(-(i+2))) + 10**(-(i+2.))) ind = np.argsort(par_list) par_list = par_list[ind] -- GitLab