Fixed database typo and removed unnecessary class identifier.
This commit is contained in:
parent
00ad49a143
commit
45fb349a7d
5098 changed files with 952558 additions and 85 deletions
|
|
@ -0,0 +1,17 @@
|
|||
from numpy.testing import assert_allclose
|
||||
from scipy.linalg import cython_lapack as cython_lapack
|
||||
from scipy.linalg import lapack
|
||||
|
||||
|
||||
class TestLamch(object):
|
||||
|
||||
def test_slamch(self):
|
||||
for c in [b'e', b's', b'b', b'p', b'n', b'r', b'm', b'u', b'l', b'o']:
|
||||
assert_allclose(cython_lapack._test_slamch(c),
|
||||
lapack.slamch(c))
|
||||
|
||||
def test_dlamch(self):
|
||||
for c in [b'e', b's', b'b', b'p', b'n', b'r', b'm', b'u', b'l', b'o']:
|
||||
assert_allclose(cython_lapack._test_dlamch(c),
|
||||
lapack.dlamch(c))
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue