Update model.py
added indexing back to apply only to the RDM.
@@ -112,6 +112,7 @@ class ModelFixed(Model):
else: # User passed a matrix
self.rdm_obj = RDMs(np.array([rdm]))
self.rdm, _, self.n_cond = batch_to_vectors(np.array([rdm]))
+ self.rdm = self.rdm[0]
self.n_param = 0
self.default_fitter = fit_mock
self.rdm_obj.pattern_descriptors['index'] = np.arange(self.n_cond)
