Skip to content

Commit 47e3cdf

Browse files
committed
major fix forecast
1 parent 78be51e commit 47e3cdf

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "dynaris"
3-
version = "0.1.0"
3+
version = "0.1.01"
44
description = "A JAX-powered Python library for Dynamic Linear Models (DLMs)"
55
readme = "README.md"
66
license = { text = "MIT" }

src/dynaris/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from dynaris.filters import KalmanFilter, kalman_filter
2121
from dynaris.smoothers import RTSSmoother, rts_smooth
2222

23-
__version__ = "0.1.0"
23+
__version__ = "0.1.01"
2424

2525
__all__ = [
2626
"DLM",

src/dynaris/forecast/forecast.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from __future__ import annotations
44

5+
import functools
56
from typing import NamedTuple
67

78
import jax
@@ -41,7 +42,7 @@ class ForecastResult(NamedTuple):
4142
# ---------------------------------------------------------------------------
4243

4344

44-
@jax.jit(static_argnums=(2,))
45+
@functools.partial(jax.jit, static_argnums=(2,))
4546
def forecast(
4647
model: StateSpaceModel,
4748
last_state: GaussianState,

0 commit comments

Comments
 (0)