diff --git a/PanACoTA/subcommands/all_modules.py b/PanACoTA/subcommands/all_modules.py
index f0a18b1dc24d97514d7cfa8dfa35eecac994c384..b696baf2c9c9a4b61be2d9f19fbcdf3dd3d214e9 100644
--- a/PanACoTA/subcommands/all_modules.py
+++ b/PanACoTA/subcommands/all_modules.py
@@ -551,7 +551,7 @@ def get_corepers(dict_argv):
     conf_conffile.set_boolean("corepers", "mixed")
     conf_conffile.set_boolean("corepers", "multi")
     conf_conffile.set_int("corepers", "verbose")
-    conf_conffile.set_int("corepers", "tol")
+    conf_conffile.set_float("corepers", "tol")
     conf_conffile.set_int("corepers", "threads")
     corepers_dict = conf_conffile.get_section_dict("corepers")
     return corepers_dict