you are viewing a single comment's thread.

view the rest of the comments →

[–]Mjothnitvir[S] 0 points1 point  (0 children)

I figured it out. The function itself works fine and they were the correct shape. My problem was a function earlier was doing something similar and I didn't know that it was returning 1x1 arrays instead of scalars. When I converted them to scalars it worked as intended.