diff --git a/README.md b/README.md index a4ddeb1..6fb51da 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ The authors of this repsitory and the associated theory have gone to lengths to author = {Carl Leake and Hunter Johnston}, title = {{TFC: A Functional Interpolation Framework}}, url = {https://github.com/leakec/tfc}, - version = {1.3.1}, + version = {1.3.2}, year = {2025}, } @article{TFC, diff --git a/pyproject.toml b/pyproject.toml index e0215a1..f1dac60 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta" [project] name = "tfc" -version = "1.3.1" +version = "1.3.2" requires-python = ">=3.11" readme = "README.md" dynamic = ["dependencies", "classifiers", "authors", "license", "description"] diff --git a/requirements.txt b/requirements.txt index e42d76d..62dfc83 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -numpy >= 1.25 -scipy >= 1.11 +numpy >= 2.0 +scipy >= 1.13 jax >= 0.6 jaxlib >= 0.6 jaxtyping diff --git a/src/tfc/mtfc.py b/src/tfc/mtfc.py index 748e9b6..910dbe3 100644 --- a/src/tfc/mtfc.py +++ b/src/tfc/mtfc.py @@ -584,7 +584,7 @@ def H_xla(ctx, *x, d: uint = 0, full: bool = False): stablehlo.ConcatenateOp(x, 0).result, mlir.ir_constant(np.int32(d)), mlir.ir_constant(np.int32(self.dim)), - mlir.ir_constant(bool(full)), + mlir.ir_constant(np.bool(full)), mlir.ir_constant(np.int32(dim0)), mlir.ir_constant(np.int32(dim1)), ], diff --git a/src/tfc/utfc.py b/src/tfc/utfc.py index 6441e70..b00afda 100644 --- a/src/tfc/utfc.py +++ b/src/tfc/utfc.py @@ -339,7 +339,7 @@ def H_xla(ctx, x, d: uint = 0, full: bool = False): mlir.ir_constant(np.int32(self.basisClass.identifier)), x, mlir.ir_constant(np.int32(d)), - mlir.ir_constant(bool(full)), + mlir.ir_constant(np.bool(full)), mlir.ir_constant(np.int32(dim0)), mlir.ir_constant(np.int32(dim1)), ], diff --git a/src/tfc/version.py b/src/tfc/version.py index 0e16fac..67159be 100644 --- a/src/tfc/version.py +++ b/src/tfc/version.py @@ -1,4 +1,4 @@ -__version__ = "1.3.1" +__version__ = "1.3.2" def _version_as_tuple(version_str: str) -> tuple[int, ...]: