regular expressions now match rather than search

This commit is contained in:
James Hensman 2013-06-04 14:36:17 +01:00
parent 26b4cd6c4f
commit aa8b75d0c5
5 changed files with 42 additions and 47 deletions

View file

@ -8,7 +8,7 @@ import GPy
class KernelTests(unittest.TestCase):
def test_kerneltie(self):
K = GPy.kern.rbf(5, ARD=True)
K.tie_params('[01]')
K.tie_params('.*[01]')
K.constrain_fixed('2')
X = np.random.rand(5,5)
Y = np.ones((5,1))