[DBG] fix typo in rdm class
@@ -29,8 +29,8 @@ class RDMs:
descriptors=None):
if (dissimilarities.ndim == 2):
self.dissimilarities = dissimilarities
- self.n_rdm = self.measurements.shape[0]
- self.n_cond = np.ceil(np.sqrt(self.measurements.shape[0] * 2))
+ self.n_rdm = self.dissimilarities.shape[0]
+ self.n_cond = np.ceil(np.sqrt(self.dissimilarities.shape[0] * 2))
elif (dissimilarities.ndim == 3):
self.dissimilarities = dissimilarities
self.n_rdm = self.dissimilarities.shape[0]
