mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-28 06:16:24 +02:00
small bug in cython tests
This commit is contained in:
parent
0651c933db
commit
51a4e881da
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ These tests make sure that the opure python and cython codes work the same
|
||||||
|
|
||||||
class CythonTestChols(np.testing.TestCase):
|
class CythonTestChols(np.testing.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.flat = np.random.randn(5,45)
|
self.flat = np.random.randn(45,5)
|
||||||
self.triang = np.array([np.eye(20) for i in range(3)])
|
self.triang = np.array([np.eye(20) for i in range(3)])
|
||||||
def test_flat_to_triang(self):
|
def test_flat_to_triang(self):
|
||||||
L1 = choleskies._flat_to_triang_pure(self.flat)
|
L1 = choleskies._flat_to_triang_pure(self.flat)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue