From 8a3dab1f46385c862648ce0b8f50f48c3659cc45 Mon Sep 17 00:00:00 2001 From: Stephan Seitz <stephan.seitz@fau.de> Date: Thu, 17 Oct 2019 10:21:11 +0200 Subject: [PATCH] Lint --- src/pystencils_autodiff/__init__.py | 1 - src/pystencils_autodiff/framework_integration/astnodes.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pystencils_autodiff/__init__.py b/src/pystencils_autodiff/__init__.py index 330bed6..e15b7d2 100644 --- a/src/pystencils_autodiff/__init__.py +++ b/src/pystencils_autodiff/__init__.py @@ -20,4 +20,3 @@ __all__ = ['backends', sys.modules['pystencils.autodiff'] = pystencils_autodiff sys.modules['pystencils.autodiff.backends'] = pystencils_autodiff.backends - diff --git a/src/pystencils_autodiff/framework_integration/astnodes.py b/src/pystencils_autodiff/framework_integration/astnodes.py index fdfe100..e7fc913 100644 --- a/src/pystencils_autodiff/framework_integration/astnodes.py +++ b/src/pystencils_autodiff/framework_integration/astnodes.py @@ -154,7 +154,7 @@ auto {texture_object}Destroyer = [&](){{ device_ptr=self._device_ptr, cuda_channel_format=self._get_channel_format_string(), bits_per_channel=self._dtype.itemsize * 8, - total_size=self._dtype.itemsize * reduce(lambda x, y: x*y, self._shape, 1)) + total_size=self._dtype.itemsize * reduce(lambda x, y: x * y, self._shape, 1)) return code -- GitLab