Skip to content

Commit

Permalink
Fix bugs in Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Routhleck committed Jul 13, 2024
1 parent f95d5f9 commit 2c9fe98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions brainunit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

__version__ = "0.0.1.1"

from __future__ import annotations
import importlib

from . import math
Expand Down
3 changes: 1 addition & 2 deletions brainunit/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@
import collections
import itertools
import numbers
from functools import wraps
import operator
from contextlib import contextmanager
from functools import wraps
from typing import Union, Optional, Sequence, Callable, Tuple, Any, List

import jax
import jax.numpy as jnp
import numpy as np
from jax import Array
from jax.interpreters.partial_eval import DynamicJaxprTracer
from jax.tree_util import register_pytree_node_class

Expand Down

0 comments on commit 2c9fe98

Please sign in to comment.