We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 485f801 commit fb27a96Copy full SHA for fb27a96
xarray/core/computation.py
@@ -1968,7 +1968,7 @@ def polyval(
1968
raise ValueError(
1969
f"Dimension `{degree_dim}` should be a coordinate variable with labels."
1970
)
1971
- if not np.issubdtype(coeffs[degree_dim].dtype, int):
+ if not np.issubdtype(coeffs[degree_dim].dtype, np.integer):
1972
1973
f"Dimension `{degree_dim}` should be of integer dtype. Received {coeffs[degree_dim].dtype} instead."
1974
0 commit comments