Commit f16225d5 authored by Martin Bauer's avatar Martin Bauer
Browse files

Merge branch 'fix-ParallelDataHandling-bug!' into 'master'

Fix bug related to ParallelDataHandling

See merge request pycodegen/pystencils!130
parents 5d569c84 59e3861e
......@@ -99,7 +99,7 @@ class BoundaryHandling:
gpu_version = gpu_version.boundary_object_to_index_list
cpu_version = cpu_version.boundary_object_to_index_list
if isinstance(self.data_handling, ParallelDataHandling):
if ParallelDataHandling and isinstance(self.data_handling, ParallelDataHandling):
array_handler = PyCudaArrayHandler()
else:
array_handler = self.data_handling.array_handler
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment