Skip to content

Commit b435e4f

Browse files
committed
MAINT: alter numeric integral relative from standard.
1 parent aa37578 commit b435e4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rocketpy/mathutils/function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2229,7 +2229,7 @@ def integral(self, a, b, numerical=False):
22292229
ans = np.trapz(y_integration_data, x_integration_data)
22302230
else:
22312231
# Integrate numerically
2232-
ans, _ = integrate.quad(self, a, b, epsabs=0.001, limit=10000)
2232+
ans, _ = integrate.quad(self, a, b, epsabs=1e-4, epsrel=1e-3, limit=1000)
22332233
return integration_sign * ans
22342234

22352235
def differentiate(self, x, dx=1e-6, order=1):

0 commit comments

Comments
 (0)