We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d05a318 commit fd98629Copy full SHA for fd98629
1 file changed
treegp/two_pcf.py
@@ -126,11 +126,11 @@ def chi2(self, param):
126
(correlation lenght, e1, and e2).
127
"""
128
if not np.isfinite(np.sum(param)):
129
- self.chi2_value = np.inf
+ self.chi2_value = [np.inf]
130
else:
131
model = self._model_skl(1.0, param[0], param[1], param[2])
132
if model is None:
133
134
135
model = model[self.mask]
136
F = np.array([model, np.ones_like(model)]).T
0 commit comments