Incorrect return type for _pad_projections_to_second_power()
function
#154
Labels
minor
Nice to do but not vital
_pad_projections_to_second_power()
function
#154
The return type currently says that either a
cp.ndarray
or atuple
can be returned:httomolibgpu/httomolibgpu/prep/phase.py
Line 350 in ce1c15f
But, the function actually returns a tuple containing two elements: a
cp.ndarray
and atuple
:httomolibgpu/httomolibgpu/prep/phase.py
Lines 360 to 363 in ce1c15f
httomolibgpu/httomolibgpu/prep/phase.py
Line 386 in ce1c15f
where the second element in the "outer tuple" is a tuple containing two
int
values I think?Therefore, I think the correct return type is
Tuple[cp.ndarray, Tuple[int, int]]
.The text was updated successfully, but these errors were encountered: