Skip to content

Commit a060951

Browse files
use the value from numpy instead of hardcoding it
1 parent eb2c98a commit a060951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cirq-core/cirq/linalg/transformations.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# user provides a different np.array([]) value.
3030
RaiseValueErrorIfNotProvided: np.ndarray = np.array([])
3131

32-
_NPY_MAXDIMS = 64
32+
_NPY_MAXDIMS = np.MAXDIMS
3333

3434

3535
def reflection_matrix_pow(reflection_matrix: np.ndarray, exponent: float):

0 commit comments

Comments
 (0)