Closed johnwlambert closed 3 years ago
Hi @tagarwal-argoai, would you mind taking a brief look at this? Thanks!
@benjaminrwilson I made a change so that the broadcasting works now.
But the docstring says the input has to be (N,2) to get (N,2) back out. So I think the ndim check is still important.
Input must be (N,2) not (2,) in shape.
Using the previous code, a (2,) array vs. (1,2) array would yield different results:
used to print:
Instead, there should be the same (1,2) array as output.
Now, fixed via broadcasting.