Skip to content

Commit fd6a8b8

Browse files
authored
fixes import of eig from fmmax.utils to fmmax.eig (#41)
* fixes import of eig from fmmax.utils to fmmax.eig * bumps up fmmax version to 1.0.0 in pyproject.toml
1 parent 07195de commit fd6a8b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ classifiers = [
1515
"Topic :: Scientific/Engineering :: Mathematics",
1616
"License :: OSI Approved :: Apache Software License",
1717
]
18-
dependencies = ["jax>=0.4.0", "jaxlib>=0.4.0", "fmmax>=0.8.0"]
18+
dependencies = ["jax>=0.4.0", "jaxlib>=0.4.0", "fmmax>=1.0.0"]
1919

2020
[project.optional-dependencies]
2121
test = ["pre-commit", "pytest-cov", "ruff", "optax", "mypy"]
@@ -25,4 +25,4 @@ packages = ["thermox"]
2525

2626
[tool.ruff]
2727
[tool.ruff.lint.per-file-ignores]
28-
"__init__.py" = ["F401", "F821"]
28+
"__init__.py" = ["F401", "F821"]

thermox/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from typing import NamedTuple, Tuple
22
from jax import numpy as jnp
33
from jax import Array
4-
from fmmax.utils import (
4+
from fmmax.eig import (
55
eig,
66
) # differentiable and jit-able eigendecomposition, not yet available in jax, see https://github.com/google/jax/issues/2748
77

0 commit comments

Comments
 (0)