Skip to content

Commit

Permalink
tests, coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mganahl committed Aug 7, 2020
1 parent 7e8dffa commit 220d43c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tensornetwork/block_sparse/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ def intersect(A: np.ndarray,
# arrays were not callapsable
return _intersect_ndarray(collapsed_A, collapsed_B, axis, assume_unique,
return_indices)

if collapsed_A.dtype in (np.int8,
np.int16) and collapsed_B.dtype in (np.int8,
np.int16):
Expand Down Expand Up @@ -370,4 +369,4 @@ def _intersect_ndarray(A: np.ndarray,
raise NotImplementedError(
"intersection can only be performed on first or second axis")

raise NotImplementedError("intersect is only implemented for 1d or 2d arrays")
raise NotImplementedError("_intersect_ndarray is only implemented for 1d or 2d arrays")

0 comments on commit 220d43c

Please sign in to comment.