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

Fail to assign element of numpy array to mapdl parameter #3715

Open
koubaa opened this issue Jan 28, 2025 · 0 comments · May be fixed by #3720
Open

Fail to assign element of numpy array to mapdl parameter #3715

koubaa opened this issue Jan 28, 2025 · 0 comments · May be fixed by #3720

Comments

@koubaa
Copy link
Contributor

koubaa commented Jan 28, 2025

a = np.array([1,2,3])
mapdl.parameters["Q"]=a[0]

causes an exception. a[0] is of type numpy.int64. This assignment should be allowed if the integer is within the allowable range of mapdl parameter integers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant