Pipe not working, unexpectedly

Can you share the error you get? I suspect that putting parentheses around the two first terms will help clarify what you mean.

Compare:

reshape(parse(string))

vs

reshape(parse)(string)

which will rightfully complain that reshaping the parse function doesn’t make sense.

(Also a function not working unexpectedly is normally only a problem if the function is rand)

1 Like