diff --git a/package/MDAnalysis/analysis/encore/covariance.py b/package/MDAnalysis/analysis/encore/covariance.py index 352d934f9d5..0887749c010 100644 --- a/package/MDAnalysis/analysis/encore/covariance.py +++ b/package/MDAnalysis/analysis/encore/covariance.py @@ -215,7 +215,7 @@ def covariance_matrix(ensemble, # Select the same atoms in reference structure reference_atom_selection = reference.select_atoms( ensemble.get_atom_selection_string()) - reference_coordinates = reference_atom_selection.atoms.coordinates() + reference_coordinates = reference_atom_selection.atoms.positions # Flatten reference coordinates reference_coordinates = reference_coordinates.flatten()