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

Fix bug related to ParallelDataHandling

```python
    def to_gpu(gpu_version, cpu_version):
        gpu_version = gpu_version.boundary_object_to_index_list
        cpu_version = cpu_version.boundary_object_to_index_list

>       if isinstance(self.data_handling, ParallelDataHandling):
E       TypeError: isinstance() arg 2 must be a type or tuple of types

../pystencils/pystencils/boundaries/boundaryhandling.py:102: TypeError
```

None is not a type! ParallelDataHandling is None if `waLBerla` is not
installed
parent b0aae533
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