diff --git a/pyopencl/scan.py b/pyopencl/scan.py index 3cf67cb87bc0c4b8c18ff82a11b7bea4c10e43aa..17d2de3f213edfb74f20fd001dc34496490fa05e 100644 --- a/pyopencl/scan.py +++ b/pyopencl/scan.py @@ -943,7 +943,7 @@ class _GenericScanKernelBase(object): from warnings import warn warn("not specifying 'neutral' is deprecated and will lead to " "wrong results if your scan is not in-place or your " - "'output_statement' otherwise does something non-trivial", + "'output_statement' does something otherwise non-trivial", stacklevel=2) if dtype.itemsize % 4 != 0: