1.1 --- a/lemon/graph_to_eps.h Mon Feb 20 09:40:07 2006 +0000
1.2 +++ b/lemon/graph_to_eps.h Tue Feb 21 08:48:11 2006 +0000
1.3 @@ -843,7 +843,8 @@
1.4 if(_enableParallel) {
1.5 std::vector<Edge> el;
1.6 for(EdgeIt e(g);e!=INVALID;++e)
1.7 - if((!_undirected||g.source(e)<g.target(e))&&_edgeWidths[e]>0)
1.8 + if((!_undirected||g.source(e)<g.target(e))&&_edgeWidths[e]>0
1.9 + &&g.source(e)!=g.target(e))
1.10 el.push_back(e);
1.11 std::sort(el.begin(),el.end(),edgeLess(g));
1.12
1.13 @@ -931,7 +932,8 @@
1.14 }
1.15 }
1.16 else for(EdgeIt e(g);e!=INVALID;++e)
1.17 - if((!_undirected||g.source(e)<g.target(e))&&_edgeWidths[e]>0)
1.18 + if((!_undirected||g.source(e)<g.target(e))&&_edgeWidths[e]>0
1.19 + &&g.source(e)!=g.target(e))
1.20 if(_drawArrows) {
1.21 xy<double> d(mycoords[g.target(e)]-mycoords[g.source(e)]);
1.22 double rn=_nodeSizes[g.target(e)]*_nodeScale;