I am using the "integrate1d" function in the iteration loop of a Monte Carlo study, but it often gives me one of the following errors:
- 'integrate1d' failed: Desired tolerance not achieved inside of allowed maximum subdivisions, OR
- 'integrate1d' failed: Round-off error detected which prevents requested tolerance from being reached.
Error estimate may be underestimated.
How can I prevent such an error?
Thank you in advance for providing guidance!