Skip to content
  • Stephan Seitz's avatar
    Fix bug related to ParallelDataHandling · 59e3861e
    Stephan Seitz authored
    ```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
    59e3861e