Skip to content

Commit bd27653

Browse files
committed
allowlist float32d
1 parent 2aad99a commit bd27653

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

cebra/integrations/sklearn/cebra.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,13 @@
5252
# windows (https://github.com/AdaptiveMotorControlLab/CEBRA/pull/281#issuecomment-3764185072)
5353
# on build (windows-latest, torch 2.6.0, python 3.12, latest sklearn)
5454
CEBRA_LOAD_SAFE_GLOBALS = [
55-
cebra.data.Offset, torch.torch_version.TorchVersion, np.dtype,
56-
np.dtypes.Int32DType, np.dtypes.Float64DType, np.dtypes.Int64DType
55+
cebra.data.Offset,
56+
torch.torch_version.TorchVersion,
57+
np.dtype,
58+
np.dtypes.Int32DType,
59+
np.dtypes.Int64DType,
60+
np.dtypes.Float32DType,
61+
np.dtypes.Float64DType,
5762
]
5863

5964

0 commit comments

Comments
 (0)