Commit 8aa27872 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Bugfix

parent 01e572f4
...@@ -176,7 +176,7 @@ class Backprojector(CudaProcessing): ...@@ -176,7 +176,7 @@ class Backprojector(CudaProcessing):
self._d_msin, self._d_msin,
1.0 # scale factor # TODO customize 1.0 # scale factor # TODO customize
] ]
if self.n_slices >= 1: if self.n_slices > 1:
self.kern_proj_args.insert(3, self.n_slices) self.kern_proj_args.insert(3, self.n_slices)
self.kern_proj_kwargs = { self.kern_proj_kwargs = {
"grid": self.grid, "grid": self.grid,
......
Supports Markdown
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