bodyNumInteractionsHistogram broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yade |
Fix Released
|
Wishlist
|
Bruno Chareyre |
Bug Description
See https:/
#######
O.bodies.
O.bodies.
O.step()
print 'BodyNumInterac
#######
which returns (with trunk version) :
ArgumentError: Python argument types in
yade.
did not match C++ signature:
bodyNumInte
because my commit [*] changed the Python return type of aabbExtrema() from tuple to list.
Possible (and easiest) fix would be to change all corresponding py::tuple aabb from py::list aabb. Agree ?
Or do we want this function to deal with Python tuples and not lists ?..
Jérôme
[*] https:/
Changed in yade: | |
assignee: | nobody → Jérôme Duriez (jduriez) |
It seems the only option is to go through and fix these functions manually. Let's just make sure we find everything that needs to be fixed before committing the fix. Can you verify the list below and also look through the trunk to see if there are any other unintended effects?
Looking through trunk/utils.py it seems the following functions need to be fixed: tures() [1] ions() [3] ons() [7]
uniaxialTestFea
aabbDim() [2]
plotNumInteract
plotDirections() [4]
avgNumInteracti
Meanwhile, the flexibility of the python language means that the following functions should work before and after the change, right? : ea()[6]
fractionalBox()[5]
perpindicularAr
Cheers,
Robert
[*]https:/ /bugs.launchpad .net/yade/ +bug/1764424 /github. com/yade/ trunk/blob/ 720a352989c9b11 48cf04022d14ec3 da233fe563/ py/utils. py#L558 /github. com/yade/ trunk/blob/ 720a352989c9b11 48cf04022d14ec3 da233fe563/ py/utils. py#L379 /github. com/yade/ trunk/blob/ 720a352989c9b11 48cf04022d14ec3 da233fe563/ py/utils. py#L448 /github. com/yade/ trunk/blob/ 720a352989c9b11 48cf04022d14ec3 da233fe563/ py/utils. py#L459 /github. com/yade/ trunk/blob/ 720a352989c9b11 48cf04022d14ec3 da233fe563/ py/utils. py#L402 /github. com/yade/ trunk/blob/ 720a352989c9b11 48cf04022d14ec3 da233fe563/ py/utils. py#L393 /github. com/yade/ trunk/blob/ 720a352989c9b11 48cf04022d14ec3 da233fe563/ py/utils. py#L419
[1]https:/
[2]https:/
[4]https:/
[3]https:/
[5]https:/
[6]https:/
[7]https:/