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
A component with an option array[real] is configured with: [ 1 , 1.1 , 1.2 , 1.3 ]
Notice that the first element is not explicitly a floating point value
What got actually set is a vector of [ 1, 1 , 1 ,1 ] . So it truncated the floating point values.
This is unexpected and unsafe behavior . Especially because these values might just come from python variables of integer type.
This is by the way the reason why atest-sdm-euler-cylinder-2d test was failing. Before this was working correctly.
A component with an option array[real] is configured with: [ 1 , 1.1 , 1.2 , 1.3 ]
Notice that the first element is not explicitly a floating point value
What got actually set is a vector of [ 1, 1 , 1 ,1 ] . So it truncated the floating point values.
This is unexpected and unsafe behavior . Especially because these values might just come from python variables of integer type.
This is by the way the reason why atest-sdm-euler-cylinder-2d test was failing. Before this was working correctly.
Can I assign @barche to fix this?
The text was updated successfully, but these errors were encountered: