diff --git a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb
index 95c88f91ab9d5317f6fb5e1991898f1da336a906..3fdf35bc8046786557ac1830639e078f10be5c77 100644
--- a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb
+++ b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb
@@ -424,7 +424,7 @@
     "    h5_index_path=h5path_idx,\n",
     "    corr_bools=corr_bools,\n",
     "    gain_mode=gain_mode,\n",
-    "    comp_threads=os.cpu_count() / n_cores_files,\n",
+    "    comp_threads=os.cpu_count() // n_cores_files,\n",
     ")\n",
     "\n",
     "agipd_corr.baseline_corr_noise_threshold = -blc_noise_threshold\n",