GeezerVison is showing github.com — Use the existing 3D beam check for the stand-in tile · cslht11/diffct@6a4d1c2
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: diffct/operators.py +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 24 | 24 | _forward_tangent, select_backend, voxel_spacing_tuple) | 25 | 25 | from .distribution import Partition | 26 | 26 | from .projectors import ( | 27 | | - _BEAMS_3D, | 28 | 27 | _backproject_into, | 29 | 28 | _geometry_vjp, | 30 | 29 | _prepare_volume, | @@ -1463,7 +1462,7 @@ def _pool_elements(self, plan, spec): | 1463 | 1462 | def _native_operand(self, numeric, source, spatial, shape, pipe, is_project): | 1464 | 1463 | """A native tile that a collective reads. After a local error it is zeros, so the rank still joins.""" | 1465 | 1464 | native = numeric.attempt(self._native_tile, source, spatial, shape, pipe, is_project) | 1466 | | - return self._stand_in(pipe, shape[::-1] if self.beam in _BEAMS_3D else shape) if native is None else native | | 1465 | + return self._stand_in(pipe, shape[::-1] if self.beam in ("cone", "parallel3d") else shape) if native is None else native | 1467 | 1466 |
| 1468 | 1467 | @staticmethod | 1469 | 1468 | def _stand_in(pipe, shape): | |
|