Skip to content

Commit 5b55407

Browse files
Update src/denoising_data.jl
Co-authored-by: Dominique <dominique.orban@gmail.com>
1 parent 3770393 commit 5b55407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/denoising_data.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ J Math Imaging Vis 65, 253–276 (2023). https://doi.org/10.1007/s10851-022-0111
1818
function unpad(x, n_p, m_p, n)
1919
a = n_p - n + 1
2020
x = reshape_array(x, (n_p, m_p))
21-
unpadded_x = x[(a + 1):end, (a + 1):end]
21+
unpadded_x = x[a:end, a:end]
2222
return unpadded_x
2323
end
2424

0 commit comments

Comments
 (0)