fix deprecated use of generator as index
This commit is contained in:
parent
37f705db21
commit
e497895ae3
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ def planes_from_tetrahedron(vertices: numpy.ndarray) -> List[plane_t]:
|
|||
[2, 0, 3, 2],
|
||||
[1, 3, 0, 3],
|
||||
[0, 2, 1, 0]))
|
||||
vertsets = numpy.moveaxis(numpy.dstack(verts[v] for v in vset_inds), 2, 0)
|
||||
vertsets = numpy.moveaxis(numpy.dstack([verts[v] for v in vset_inds]), 2, 0)
|
||||
ab = vertsets[:, 0, :] - vertsets[:, 1, :]
|
||||
cd = vertsets[:, 2, :] - vertsets[:, 3, :]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue