Skip to content

Commit

Permalink
python3.9 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
andyElking committed Nov 8, 2023
1 parent d1bf648 commit 5a0f6c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions diffrax/path.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import abc
from dataclasses import field
from typing import Optional
from typing import Optional, Union

import equinox as eqx
import jax
Expand Down Expand Up @@ -51,7 +51,7 @@ def evaluate(
t1: Optional[Scalar] = None,
left: bool = True,
use_levy: bool = False,
) -> PyTree | LevyVal:
) -> Union[PyTree, LevyVal]:
r"""Evaluate the path at any point in the interval $[t_0, t_1]$.
**Arguments:**
Expand Down

0 comments on commit 5a0f6c8

Please sign in to comment.