diff --git a/notebooks/LPD/LPD_Correct_Fast.ipynb b/notebooks/LPD/LPD_Correct_Fast.ipynb
index 6ac7836651774e736eb9e1cca69fa248952b46d4..7457d3b09ce8d2f42c5d32c60ef4d8a0691b599e 100644
--- a/notebooks/LPD/LPD_Correct_Fast.ipynb
+++ b/notebooks/LPD/LPD_Correct_Fast.ipynb
@@ -508,7 +508,7 @@
     "                for gg in range(3):\n",
     "                    tmp_cell[cursor_out : cursor_out+afc] = in_cell[cursor_in : cursor_in+afc]\n",
     "                    tmp_pulse[cursor_out : cursor_out+afc] = in_pulse[cursor_in : cursor_in+afc]\n",
-    "                    sel[cursor_out : cursor_out+afc] = 1\n",
+    "                    sel[cursor_out : cursor_out+afc] = True\n",
     "                    cursor_out += afc + drop_last_frames_parallelgain\n",
     "\n",
     "                cursor_in += 3 * (afc + drop_last_frames_parallelgain)\n",