Commit fba7e4d
authored
Replace deprecated np.bmat with np.block in Voronoi Delaunay triangulation (#2915)
Replace np.bmat with np.block in Delaunay._circumcenter to fix PendingDeprecationWarning about numpy.matrix subclass. The nested lists are wrapped in np.array() calls to ensure consistent array depths required by np.block.1 parent 87e500e commit fba7e4d
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
0 commit comments