Skip to content

Commit 7eabc2a

Browse files
committed
Concatenate full data
1 parent 0601bb3 commit 7eabc2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vega/vega_interface.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ def chi2(self, params=None, direct_pk=None):
274274

275275
if self._use_global_cov:
276276
full_model = np.concatenate(full_model)
277+
full_masked_data = np.concatenate(full_masked_data)
277278
diff = full_masked_data - full_model[self.full_model_mask]
278279
chi2 = diff.T.dot(self.masked_global_invcov.dot(diff))
279280

0 commit comments

Comments
 (0)