From 9d5aa8525ab69e1e4111dcdce4efc512daf27f47 Mon Sep 17 00:00:00 2001 From: wzlk655 <37076073+wzlk655@users.noreply.github.com> Date: Mon, 3 Aug 2026 17:45:16 +0800 Subject: [PATCH] fix(p_loraks.py): remove incorrect S-matrix operator_shape doubling in _initialize_matrix_indices --- pymritools/recon/loraks/p_loraks.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pymritools/recon/loraks/p_loraks.py b/pymritools/recon/loraks/p_loraks.py index c8ed88d..20311ba 100644 --- a/pymritools/recon/loraks/p_loraks.py +++ b/pymritools/recon/loraks/p_loraks.py @@ -297,8 +297,6 @@ def _initialize_matrix_indices(self): self.patch_shape, self.sample_directions ) - if self.operator_type == OperatorType.S: - self.matrix_operator_shape = tuple(2 * d for d in self.matrix_operator_shape) def _get_operator_matrix_size(self) -> tuple[int, int]: """ @@ -470,4 +468,4 @@ def reconstruct_batch(self, k_space_batch: torch.Tensor, idx_batch: int = 0) -> ) # k is our converged best guess candidate, need to unwrap / reshape - return k \ No newline at end of file + return k