Removed erreneous lines indicating merge conflicts

This commit is contained in:
kcutajar 2016-05-09 16:21:10 +02:00
parent debdb545dc
commit 5b7566dfac
2 changed files with 1 additions and 15 deletions

View file

@ -69,17 +69,10 @@ class GpGrid(GP):
x = b
N = 1
G = np.zeros(D)
<<<<<<< HEAD
for d in range(D):
G[d] = len(A[d])
N = np.prod(G)
for d in range(D-1, -1, -1):
=======
for d in xrange(D):
G[d] = len(A[d])
N = np.prod(G)
for d in xrange(D-1, -1, -1):
>>>>>>> 1fc93236c46ddd1b7bd7f73ef26dc51af4cd2181
X = np.reshape(x, (G[d], round(N/G[d])), order='F')
Z = np.dot(A[d], X)
Z = Z.T

View file

@ -37,17 +37,10 @@ class GaussianGridInference(LatentFunctionInference):
N = 1
D = len(A)
G = np.zeros((D,1))
<<<<<<< HEAD
for d in range(0, D):
G[d] = len(A[d])
N = np.prod(G)
for d in range(D-1, -1, -1):
=======
for d in xrange(0, D):
G[d] = len(A[d])
N = np.prod(G)
for d in xrange(D-1, -1, -1):
>>>>>>> 1fc93236c46ddd1b7bd7f73ef26dc51af4cd2181
X = np.reshape(x, (G[d], round(N/G[d])), order='F')
Z = np.dot(A[d], X)
Z = Z.T
@ -116,6 +109,6 @@ class GaussianGridInference(LatentFunctionInference):
dL_dLen = derivs[:D]
dL_dVar = derivs[D]
dL_dThetaL = derivs[D+1]
return GridPosterior(alpha_kron=alpha_kron, QTs=QTs, Qs=Qs, V_kron=V_kron), \
log_likelihood, {'dL_dLen':dL_dLen, 'dL_dVar':dL_dVar, 'dL_dthetaL':dL_dThetaL}