ANTsPy icon indicating copy to clipboard operation
ANTsPy copied to clipboard

right operands not implemented

Open rueberger opened this issue 2 years ago • 0 comments

img = ants.from_numpy(np.zeros(10, 10, 10))
img * 1 # works
1 * img # type error 

fix is straightforward, add a case to each operand for when other is a number.

rueberger avatar Jul 01 '22 01:07 rueberger