Thanks your for great work Tiago.

Cheers,

Juan

On 8 July 2010 09:51, Tiago de Paula Peixoto <tiago@forked.de> wrote:
Hi Juan,

On 07/07/2010 02:09 PM, Juan Manuel Tirado wrote:
> I'm experimenting some problems with the remove_parallel_edges
> function. It seems that some edges are removed randomly. I attach
> some reproducible code to test.

Indeed, this was a race condition caused when OpenMP is enabled and
undirected graphs are used. I have fixed this in the git version.

If you want a quick workaround, you can disable OpenMP by setting the
environment variable:

   export OMP_NUM_THREADS=1

Thanks for finding this stuff out! :-)

Cheers,
Tiago

--
Tiago de Paula Peixoto <tiago@forked.de>


_______________________________________________
graph-tool mailing list
graph-tool@forked.de
http://lists.forked.de/mailman/listinfo/graph-tool