Permalink
Browse files

TST: lower precision for double DST tests in fftpack to 14 decimals.

Some test failures were reported against 0.11.0rc1 due to too high precision.
  • Loading branch information...
1 parent e4b7e09 commit 00d60dcd301b5ead5c5d1adf5bd2ed14e172c649 @rgommers rgommers committed Jul 25, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 scipy/fftpack/tests/test_real_transforms.py
@@ -216,7 +216,7 @@ def test_definition(self):
class TestDSTIDouble(_TestDSTBase):
def setUp(self):
self.rdt = np.double
- self.dec = 15
+ self.dec = 14
self.type = 1
class TestDSTIFloat(_TestDSTBase):
@@ -228,7 +228,7 @@ def setUp(self):
class TestDSTIIDouble(_TestDSTBase):
def setUp(self):
self.rdt = np.double
- self.dec = 15
+ self.dec = 14
self.type = 2
class TestDSTIIFloat(_TestDSTBase):
@@ -240,7 +240,7 @@ def setUp(self):
class TestDSTIIIDouble(_TestDSTBase):
def setUp(self):
self.rdt = np.double
- self.dec = 16
+ self.dec = 14
self.type = 3
class TestDSTIIIFloat(_TestDSTBase):
@@ -288,7 +288,7 @@ def setUp(self):
class TestIDSTIIDouble(_TestIDSTBase):
def setUp(self):
self.rdt = np.double
- self.dec = 15
+ self.dec = 14
self.type = 2
class TestIDSTIIFloat(_TestIDSTBase):
@@ -300,7 +300,7 @@ def setUp(self):
class TestIDSTIIIDouble(_TestIDSTBase):
def setUp(self):
self.rdt = np.double
- self.dec = 15
+ self.dec = 14
self.type = 3
class TestIDSTIIIFloat(_TestIDSTBase):

0 comments on commit 00d60dc

Please sign in to comment.