File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ roughly 2^31) (PR #381)
3232- Fixed weak optimal transport docstring (Issue #404 , PR #410 )
3333- Fixed error whith parameter ` log=True ` for ` SinkhornLpl1Transport ` (Issue #412 ,
3434PR #413 )
35+ - Fixed a bug breaking an example where we would try to make an array of arrays of different shapes (Issue #424 , PR #425 )
36+
3537
3638## 0.8.2
3739
Original file line number Diff line number Diff line change @@ -110,8 +110,7 @@ def im2mat(img):
110110 if shapes [nb ][i , j ] < 0.95 :
111111 xs [nb ].append ([j , 8 - i ])
112112
113- xs = np .array ([np .array (xs [0 ]), np .array (xs [1 ]),
114- np .array (xs [2 ]), np .array (xs [3 ])])
113+ xs = [np .array (xs [s ]) for s in range (S )]
115114
116115##############################################################################
117116# Barycenter computation
You can’t perform that action at this time.
0 commit comments