In the Facet.cpp I found the following comment. Maybe this rings a bell for somebody?
void Facet::postLoad(Facet&)
{
// if this fails, it means someone did vertices push_back, but they are resized to 3 at Facet initialization already
// in the future, a fixed-size array should be used instead of vector<Vector3r> for vertices
// this is prevented by yade::serialization now IIRC
if(vertices.size()!=3){ throw runtime_error(("Facet must have exactly 3 vertices (not "+boost::lexical_cast<string>(vertices.size())+")").c_str()); }
In the Facet.cpp I found the following comment. Maybe this rings a bell for somebody?
void Facet:: postLoad( Facet&) size()! =3){ throw runtime_ error(( "Facet must have exactly 3 vertices (not "+boost: :lexical_ cast<string> (vertices. size()) +")").c_ str()); }
{
// if this fails, it means someone did vertices push_back, but they are resized to 3 at Facet initialization already
// in the future, a fixed-size array should be used instead of vector<Vector3r> for vertices
// this is prevented by yade::serialization now IIRC
if(vertices.