Skip to content

Commit

Permalink
Merge branch 'main' into cristina/issue535
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Jul 24, 2024
2 parents 7138eed + 1ffcbcf commit 9d9706d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions scico/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
from . import numpy
from ._autograd import cvjp, grad, jacrev, linear_adjoint, value_and_grad

# See https://github.com/google/jax/issues/19444
jax.config.update("jax_default_matmul_precision", "highest")

__all__ = [
"grad",
"value_and_grad",
Expand Down
7 changes: 6 additions & 1 deletion scico/test/linop/xray/test_astra.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
from scico.test.linop.xray.test_svmbir import make_im

try:
from scico.linop.xray.astra import XRayTransform2D, XRayTransform3D, angle_to_vector
from scico.linop.xray.astra import (
XRayTransform2D,
XRayTransform3D,
_ensure_writeable,
angle_to_vector,
)
except ModuleNotFoundError as e:
if e.name == "astra":
pytest.skip("astra not installed", allow_module_level=True)
Expand Down

0 comments on commit 9d9706d

Please sign in to comment.