By changing the inputs, the functions give different results.
It is hard to answer this without concrete code.
It would be much easier to help you if you provided the a self-contained example that demonstrates the problem in a freshly started Julia session.
2 Likes