Small fix

master
Per A Brodtkorb 8 years ago
parent aa3b5355cc
commit 7477b895cc

@ -1230,7 +1230,7 @@ class _Quadgr(object):
b = np.asarray(b) b = np.asarray(b)
if a == b: if a == b:
q_val = b - a q_val = b - a
err = b - a err = np.abs(b - a)
return q_val, err return q_val, err
a, b, reverse = self._order_limits(a, b) a, b, reverse = self._order_limits(a, b)

Loading…
Cancel
Save