fix getting displacements in Arbitrary repetition
这个提交包含在:
父节点
b5ddb5749c
当前提交
6886360f6d
@ -312,7 +312,7 @@ class Arbitrary(LockableImpl, Repetition, metaclass=AutoSlots):
|
||||
|
||||
@displacements.setter
|
||||
def displacements(self, val: ArrayLike) -> None:
|
||||
vala: NDArray[numpy.float64] = numpy.array(vala, dtype=float)
|
||||
vala: NDArray[numpy.float64] = numpy.array(val, dtype=float)
|
||||
vala = numpy.sort(vala.view([('', vala.dtype)] * vala.shape[1]), 0).view(vala.dtype) # sort rows
|
||||
self._displacements = vala
|
||||
|
||||
|
||||
正在加载...
x
在新工单中引用
屏蔽一个用户