We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 903a797 commit dbe80ceCopy full SHA for dbe80ce
pymc3/gp/cov.py
@@ -99,18 +99,18 @@ def __init__(self, factor_list):
99
self.factor_list.append(factor)
100
101
def merge_factors(self, X, Z=None, diag=False):
102
- factors = []
+ factor_list = []
103
for factor in self.factor_list:
104
if isinstance(factor, Covariance):
105
- factors.append(factor(X, Z, diag))
+ factor_list.append(factor(X, Z, diag))
106
elif hasattr(factor, "ndim"):
107
if diag:
108
- factors.append(tt.diag(factor))
+ factor_list.append(tt.diag(factor))
109
else:
110
- factors.append(factor)
+ factor_list.append(factor)
111
112
113
- return factors
+ return factor_list
114
115
116
class Add(Combination):
0 commit comments