Skip to content

Commit

Permalink
sapyb to return even if out is not None
Browse files Browse the repository at this point in the history
With CIL TomographicImaging/CIL#1742 `sapyb` returns even if the output is pre-allocated
  • Loading branch information
paskino authored May 13, 2024
1 parent 1d53570 commit 9820416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/SIRF.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def sapyb(self, a, y, b, out=None, **kwargs):

if out is None:
check_status(z.handle)
return z
return z

def power(self, other, out=None):
'''Power function for DataContainers
Expand Down

0 comments on commit 9820416

Please sign in to comment.