From 611febe7eb313a26803f4db86120a64ee66a5c96 Mon Sep 17 00:00:00 2001 From: James Hensman Date: Mon, 23 Mar 2015 14:48:13 +0000 Subject: [PATCH] stupid bug --- GPy/mappings/linear.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/mappings/linear.py b/GPy/mappings/linear.py index e172b4e2..6fc91944 100644 --- a/GPy/mappings/linear.py +++ b/GPy/mappings/linear.py @@ -33,7 +33,7 @@ class Linear(Mapping): return np.dot(X, self.A) def update_gradients(self, dL_dF, X): - self.A.gradient = np.dot( X.T dL_dF) + self.A.gradient = np.dot( X.T, dL_dF) def gradients_X(self, dL_dF, X): return np.dot(dL_dF, self.A.T)