Skip to content
Snippets Groups Projects
Commit 8a3dab1f authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Lint

parent 9c9abdb1
Branches
Tags
No related merge requests found
Pipeline #18954 failed
......@@ -20,4 +20,3 @@ __all__ = ['backends',
sys.modules['pystencils.autodiff'] = pystencils_autodiff
sys.modules['pystencils.autodiff.backends'] = pystencils_autodiff.backends
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment