Skip to content

Commit

Permalink
Fix update to numpy 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
qubixes committed Jun 17, 2024
1 parent 6dcb730 commit ba9a1f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion metasyncontrib/disclosure/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

import numpy as np
import polars as pl
from numpy.core._exceptions import UFuncTypeError

try:
from numpy.core._exceptions import UFuncTypeError
except ImportError:
from numpy._core._exceptions import UFuncTypeError


def _compute_dominance(block_values, reverse=False):
Expand Down

0 comments on commit ba9a1f8

Please sign in to comment.