Skip to content

Commit

Permalink
fix squeeze in distances for WellModel
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrakenhoff committed Feb 5, 2025
1 parent 7b804e4 commit 2cdc095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pastastore/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,7 @@ def get_stressmodel(
# compute distances and add to kwargs
distances = (
self.get_distances(oseries=oseries, stresses=names)
.T.squeeze(axis=0)
.T.squeeze(axis=1)
.values
)
kwargs["distances"] = distances
Expand Down

0 comments on commit 2cdc095

Please sign in to comment.