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
- No need to convert input_args to lists: broadcast_arrays will handle
the broadcasting just fine on scalars, and later using np.ravel() will
ensure that the result is at least 1D.
- The assertions don't really add much (and are clearly always true
based on the code just above).
- np.linspace(x, y, 2) is a pretty obfuscated way to write np.array([x,
y]).
0 commit comments