Skip to content

Commit

Permalink
make numpy array so that list of parameter vectors is valid
Browse files Browse the repository at this point in the history
  • Loading branch information
MSRudolph committed Feb 7, 2022
1 parent b642843 commit 3778fe0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/examples/orqviz_tutorial_orquestra.ipynb
Expand Up @@ -1508,7 +1508,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
"version": "3.8.8"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion src/orqviz/pca/data_structures.py
Expand Up @@ -17,7 +17,7 @@ def __init__(
all_points: ArrayOfParameterVectors,
components_ids: Tuple[int, int] = (0, 1),
):
self.all_points = all_points
self.all_points = np.array(all_points)
self._params_shape = np.shape(self.all_points)[1:]
self.components_ids = components_ids
self.fit_pca(max(self.components_ids) + 1)
Expand Down

0 comments on commit 3778fe0

Please sign in to comment.