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
My issue #33635 is related although different. Scalar inputs are treated like iterables with 1 element, and that issue documents other potentially inconsistent behavior with e.g. generators and tuples as arguments.
As a user, I would wish map()/pmap() to enforce size wherever possible. If a user desires the iterable-as-many-as-possible behavior, I'd argue they should be explicit about that.
I believe that the second example should also be a
DimensionMismatch
, for consistency.The text was updated successfully, but these errors were encountered: