Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: compatibility with 32bit arches #102

Merged
merged 1 commit into from Jul 28, 2023
Merged

FIX: compatibility with 32bit arches #102

merged 1 commit into from Jul 28, 2023

Conversation

kotopesutility
Copy link
Contributor

@kotopesutility kotopesutility commented Jul 28, 2023

For 32bit arches error occurs:

Traceback (most recent call last):
File "", line 189, in _run_module_as_main
File "", line 148, in _get_module_details
File "", line 112, in _get_module_details
File "/usr/src/VNEV/lib/python3/site-packages/mdp/init.py", line 131, in
from . import utils
File "/usr/src/VNEV/lib/python3/site-packages/mdp/utils/init.py", line 6, in
from .routines import (timediff, refcast, scast, rotate, random_rot,
File "/usr/src/VNEV/lib/python3/site-packages/mdp/utils/routines.py", line 295, in
_UNSAFE_DTYPES = [numx.dtype(d).type for d in
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/VNEV/lib/python3/site-packages/mdp/utils/routines.py", line 295, in
_UNSAFE_DTYPES = [numx.dtype(d).type for d in
^^^^^^^^^^^^^
TypeError: data type 'float128' not understood

This pull request fixes this bug.

@Stewori
Copy link
Member

Stewori commented Jul 28, 2023

Thank you for this fix! Looks good, I'll accept it right away.

@Stewori Stewori merged commit e1fc6f2 into mdp-toolkit:master Jul 28, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants