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
The problem is that 1-element arrays behave like scalars, so the function works, however, different from scalars, they are passed to functions as reference as opposed to by value.
The text was updated successfully, but these errors were encountered:
This code in
quaternion_from_euler
is actually dangerous when called with 1-D 1-element numpy arrays on input:geometry/tf/src/tf/transformations.py
Lines 1100 to 1128 in 63c3c7b
E.g.
The problem is that 1-element arrays behave like scalars, so the function works, however, different from scalars, they are passed to functions as reference as opposed to by value.
The text was updated successfully, but these errors were encountered: