← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3767: remove a not necessary sorting in FlowEngine, as it triggers a critical bug in the STL (http://gc...

 

------------------------------------------------------------
revno: 3767
committer: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxxxxxx>
timestamp: Tue 2013-11-26 16:37:26 +0100
message:
  remove a not necessary sorting in FlowEngine, as it triggers a critical bug in the STL (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58800)
modified:
  lib/triangulation/FlowBoundingSphereLinSolv.ipp


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'lib/triangulation/FlowBoundingSphereLinSolv.ipp'
--- lib/triangulation/FlowBoundingSphereLinSolv.ipp	2013-06-27 11:29:17 +0000
+++ lib/triangulation/FlowBoundingSphereLinSolv.ipp	2013-11-26 15:37:26 +0000
@@ -161,7 +161,8 @@
 		for (Finite_cells_iterator cell = Tri.finite_cells_begin(); cell != cell_end; cell++) {
 			orderedCells.push_back(cell);
 			if (!cell->info().Pcondition) ++ncols;}
-		spatial_sort(orderedCells.begin(),orderedCells.end(), CellTraits_for_spatial_sort<RTriangulation>());
+//		//Segfault on 14.10, and useless overall since SuiteSparse has preconditionners (including metis)
+// 		spatial_sort(orderedCells.begin(),orderedCells.end(), CellTraits_for_spatial_sort<RTriangulation>());
 
 		T_cells.clear();
 		T_index=0;