You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recommend switching to np.nan in the 3 places it is used in m2cgen, in tests/utils.py:
83: [np.nan] * self.X.shape[1],
107: [np.nan] * self.X.shape[1],
120: [np.nan] * self.X.shape[1],
Figured I'd raise this issue for awareness, while I figure out how to properly upstream from our fork.
The text was updated successfully, but these errors were encountered:
NumPy 2.0 uses np.nan instead of np.NaN. Numpy 1.x supports both.
Recommend switching to np.nan in the 3 places it is used in m2cgen, in tests/utils.py:
83: [np.nan] * self.X.shape[1],
107: [np.nan] * self.X.shape[1],
120: [np.nan] * self.X.shape[1],
Figured I'd raise this issue for awareness, while I figure out how to properly upstream from our fork.
The text was updated successfully, but these errors were encountered: