incompatible types in functions and predicates

Bug #1805416 reported by Bruno Chareyre on 2018-11-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
Critical
Bruno Chareyre

Bug Description

Affects: every built from source after [1].

Yade stable:

Yade [4]: pred=PredicateIntersection(inAlignedBox((-1,-1,-1),(1,0,0)),inAlignedBox((-0.5,-0.5,-0.5),(1,1,1)))
Yade [5]: bodyNumInteractionsHistogram(pred.aabb())
 -> [5]: ([], [])

After 7c60d78 [1]:

---------------------------------------------------------------------------
ArgumentError Traceback (most recent call last)
/home/3S-LAB/bchareyre/yade/bin/yade-fresh in <module>()
----> 1 bodyNumInteractionsHistogram(pred.aabb())

ArgumentError: Python argument types in
    yade._utils.bodyNumInteractionsHistogram(tuple)
did not match C++ signature:
    bodyNumInteractionsHistogram(boost::python::list aabb)

[1] https://github.com/yade/trunk/commit/7c60d78bd9badfa174fb79a82af7b119abf81d5d

Changed in yade:
importance: Undecided → Critical
assignee: nobody → Bruno Chareyre (bruno-chareyre)
Bruno Chareyre (bruno-chareyre) wrote :

Fixed in [1] by reverting 7c60d78.
Please fix and recommit when everything is secured.

[1] https://github.com/yade/trunk/commit/ac7647f55b739e324a56d1fcfd04ba63b63513de

Changed in yade:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers