Some coverters from std::vector<type> to python broken

Bug #539562 reported by Václav Šmilauer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
Fix Released
High
Václav Šmilauer

Bug Description

Converters defined in py/yadeWrapper/customConverters.cpp seem not to be picked up by boost::python (although they used to). Simple test:

f=utils.facet([[0,0,0],[1,1,1],[2,2,2]])
f.shape.vertices

TypeError: No Python class registered for C++ class std::vector<Wm3::Vector3<double>, std::allocator<Wm3::Vector3<double> > >

Tags: regression

Related branches

Changed in yade:
assignee: nobody → Václav Šmilauer (eudoxos)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Václav Šmilauer (eudoxos) wrote :
Changed in yade:
status: Confirmed → In Progress
Revision history for this message
Václav Šmilauer (eudoxos) wrote :

r2140

Changed in yade:
milestone: none → 0.30-0
status: In Progress → Fix Released
Revision history for this message
Václav Šmilauer (eudoxos) wrote :

Yade [1]: utils.facet([[0,0,0],[1,1,1],[2,2,2]]).shape.vertices
 -> [1]: [Vector3(-1,-1,-1), Vector3(0,0,0), Vector3(1,1,1)]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.