From 7477b895cc94d33d6b4ea8f7a7f1e1fa2777368e Mon Sep 17 00:00:00 2001 From: Per A Brodtkorb Date: Wed, 22 Feb 2017 04:12:48 +0100 Subject: [PATCH] Small fix --- wafo/integrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wafo/integrate.py b/wafo/integrate.py index 6caf4aa..bf26e60 100644 --- a/wafo/integrate.py +++ b/wafo/integrate.py @@ -1230,7 +1230,7 @@ class _Quadgr(object): b = np.asarray(b) if a == b: q_val = b - a - err = b - a + err = np.abs(b - a) return q_val, err a, b, reverse = self._order_limits(a, b)