← Back to team overview

yade-dev team mailing list archive

[Bug 1514477] Re: Tesselation wrapper broken

 

Fixed [1].
The problem was due to a change in gcc, it seems.

For years, the syntax "a+ t ? 1 : 0" has been returning "a+(t?1:0)".
But now it returns "(a+t)?1:0"

Bruno

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

** Changed in: yade
     Assignee: (unassigned) => Bruno Chareyre (bruno-chareyre)

** Changed in: yade
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1514477

Title:
  Tesselation wrapper broken

Status in Yade:
  Fix Released

Bug description:
  Ubuntu 14.04
  Last yadedaily or trunk (9 november 2015) : Yade version: 1.20.0-1-b8083be~trusty
  libcgal-dev 4.5-2~trusty1 (same for libcgal10)

  When running the script :
  examples/tesselationWrapper/tesselationWrapper.py, we get :

  francois@GRP3738:~/these/yade/trunk/examples/tesselationwrapper$ yadedaily tesselationWrapper.py 
  Welcome to Yade 1.20.0-1-b8083be~trusty 
  TCP python prompt on localhost:9000, auth cookie `ussykc'
  XMLRPC info provider on http://localhost:21000
  Running script tesselationWrapper.py
  python: /build/yadedaily-1.20.0-1-b8083be~trusty/lib/triangulation/Tesselation.ipp :66 : CGT::_Tesselation<TT>::VertexHandle CGT::_Tesselation<TT>::insert(CGT::Real, CGT::Real, CGT::Real, CGT::Real, unsigned int, bool) [with TT = CGT::TriangulationTypes<CGT::SimpleVertexInfo, CGT::SimpleCellInfo>; CGT::_Tesselation<TT>::VertexHandle = CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Triangulation_vertex_base_with_info_3<CGT::SimpleVertexInfo, CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick>, CGAL::Triangulation_vertex_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick>, CGAL::Triangulation_ds_vertex_base_3<CGAL::Triangulation_data_structure_3<CGAL::Triangulation_vertex_base_with_info_3<CGT::SimpleVertexInfo, CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick>, CGAL::Triangulation_vertex_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick>, CGAL::Triangulation_ds_vertex_base_3<void> > >, CGAL::Triangulation_cell_base_with_info_3<CGT::SimpleCellInfo, CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick>, CGAL::Triangulation_cell_base_3<CGAL::Regular_triangulation_euclidean_traits_3<CGAL::Epick>, CGAL::Triangulation_ds_cell_base_3<void> > >, CGAL::Sequential_tag> > > >, CGAL::Default, CGAL::Default, CGAL::Default>, false>; CGT::Real = double]:  l'assertion « vertexHandles.size()>id » a échoué.
  Abandon (core dumped)

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1514477/+subscriptions


References