Stack numpy array as output of complex function produces ValueError: order must be one of 'C', 'F', 'A', or 'K' (got 's0f')

Hi
Could you share the complete code?
What is not clear to me is the pm.Deterministic part.

Thanks anyway
Regards Hans