Skip to content

Commit 9637e77

Browse files
committed
changing the autopadding
1 parent ee9c10a commit 9637e77

File tree

1 file changed

+1
-1
lines changed
  • httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/recon

1 file changed

+1
-1
lines changed

httomo_backends/methods_database/packages/backends/httomolibgpu/supporting_funcs/recon/algorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,5 +574,5 @@ def _calc_memory_bytes_FISTA3d_tomobar(
574574
def __estimate_detectorHoriz_padding(detX_size) -> int:
575575
det_half = detX_size // 2
576576
padded_value_exact = int(np.sqrt(2 * (det_half**2))) - det_half
577-
padded_add_margin = int(0.1 * padded_value_exact)
577+
padded_add_margin = padded_value_exact // 2
578578
return padded_value_exact + padded_add_margin

0 commit comments

Comments
 (0)