Skip to content

Commit

Permalink
Avoid deprecated import from numpy.core
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed Feb 7, 2024
1 parent f8b2156 commit 7394858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brian2/numpy_.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# builtin names (mimicking the numpy behaviour)
from builtins import bool, float, complex

from numpy.core import round, abs, max, min
from numpy import round, abs, max, min

import numpy
import brian2.units.unitsafefunctions as brian2_functions
Expand Down

0 comments on commit 7394858

Please sign in to comment.