Skip to content

Commit

Permalink
Resolve errors in jitting method
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Oct 6, 2024
1 parent 97f3b05 commit ff1e235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scico/linop/xray/_xray.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ def fbp(self, y: ArrayLike) -> snp.Array:
"""

N = y.shape[1]
nvec = np.arange(N) - (N - 1) // 2
dx = np.sqrt(self.dx[0] * self.dx[1]) # type: ignore
nvec = snp.arange(N) - (N - 1) // 2
dx = snp.sqrt(self.dx[0] * self.dx[1]) # type: ignore
h = XRayTransform2D._ramp_filter(nvec, 1.0 / dx)

# Apply ramp filter in the frequency domain, padding to avoid
Expand Down

0 comments on commit ff1e235

Please sign in to comment.