summaryrefslogtreecommitdiff
path: root/community/python-scipy/PKGBUILD
blob: 7791f788c0a76c8f5b6a37c8dd6861ce200c33a2 (plain)
1
2
3
4
5
6
7
8
9
10
# increase standard relative tolerance of verify_gauss_quad

prepare() {
  sed -i '
    /def verify_gauss_quad/ {
      N
      s/rtol=[^,]\+,/rtol=2e-15,/
    }
  ' "scipy-${pkgver}/scipy/special/tests/test_orthogonal.py"
}