From 5f5a655e0f879c3cd4bb2f8849bf1c4119e29b73 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Thu, 31 Jan 2019 15:35:27 -0600 Subject: [PATCH] Fix more overindentations --- pyopencl/__init__.py | 4 ++-- pyopencl/tools.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyopencl/__init__.py b/pyopencl/__init__.py index 5d2976c4..7f77154f 100644 --- a/pyopencl/__init__.py +++ b/pyopencl/__init__.py @@ -888,8 +888,8 @@ def _add_functionality(): if context._get_cl_version() >= (1, 2) and get_cl_header_version() >= (1, 2): if buffer is not None and is_array: - raise ValueError( - "'buffer' and 'is_array' are mutually exclusive") + raise ValueError( + "'buffer' and 'is_array' are mutually exclusive") if len(shape) == 3: if buffer is not None: diff --git a/pyopencl/tools.py b/pyopencl/tools.py index 5b7b78d9..9dce9216 100644 --- a/pyopencl/tools.py +++ b/pyopencl/tools.py @@ -816,7 +816,7 @@ class _TemplateRenderer(object): if with_offset: def vec_arg_factory(typename, name): - return _VectorArgPlaceholder(typename, name, with_offset=True) + return _VectorArgPlaceholder(typename, name, with_offset=True) else: vec_arg_factory = _VectorArgPlaceholder -- GitLab