-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Before submitting the issue
- I have checked for Compatibility issues
- I have searched among the existing issues
- I am using a Python virtual environment
Description of the bug
This simple code returns different output from Linux and Windows :
nodes = np.array([1, 2, 3, 4], dtype=int)
scop_Nodes = dpf.mesh_scoping_factory.nodal_scoping(nodes)
print(scop_Nodes.ids)
It seems to come from the type int (int32/int64).
Would it be possible to fix the ouput in Linux or document the behaviour?
Steps To Reproduce
-Run the following code in Windows then in Linux :
nodes = np.array([1, 2, 3, 4], dtype=int)
scop_Nodes = dpf.mesh_scoping_factory.nodal_scoping(nodes)
print(scop_Nodes.ids)
Which Operating System causes the issue?
Linux
Which DPF/Ansys version are you using?
Ansys 2024 R1
Which Python version causes the issue?
3.8
Installed packages
ansys-dpf-core
ansys-dpf-post
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working