From 478413a58298caa0da134fbf14b311092cc3f91a Mon Sep 17 00:00:00 2001
From: Robert Haase <haesleinhuepf@users.noreply.github.com>
Date: Wed, 16 Oct 2024 13:58:45 +0200
Subject: [PATCH] I renamed the parameter `bool` to `wait_for_kernel_finish` in
 the `set_wait_for_kernel_finish` function.

---
 pyclesperanto/_interroperability.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyclesperanto/_interroperability.py b/pyclesperanto/_interroperability.py
index 5b45a446..37d36ebc 100644
--- a/pyclesperanto/_interroperability.py
+++ b/pyclesperanto/_interroperability.py
@@ -78,12 +78,12 @@ def affine_transform(
     )
 
 
-def set_wait_for_kernel_finish(wait: bool =True):
+def set_wait_for_kernel_finish(wait_for_kernel_finish: bool =True):
     warnings.warn(
         "set_wait_for_kernel_finish : This method is deprecated. Consider using wait_for_kernel_to_finish() instead.",
         DeprecationWarning,
     )
-    wait_for_kernel_to_finish(wait)
+    wait_for_kernel_to_finish(wait_for_kernel_finish)
 
 
 def clip(a, a_min, a_max, out=None):