author | Alpar Juttner <alpar@cs.elte.hu> |
Fri, 20 Nov 2009 14:18:33 +0100 | |
changeset 796 | 9cc6e98c487d |
parent 794 | 313d58f9e544 |
parent 795 | 921d5bf41ac2 |
child 799 | 6be1f9bd2ac0 |
child 804 | 4db8d5ccd26b |
1.1 --- a/lemon/hartmann_orlin.h Thu Nov 19 09:36:43 2009 +0100 1.2 +++ b/lemon/hartmann_orlin.h Fri Nov 20 14:18:33 2009 +0100 1.3 @@ -598,7 +598,9 @@ 1.4 } 1.5 } 1.6 level[u] = Pair(i, j); 1.7 - u = _gr.source(_data[u][j].pred); 1.8 + if (j != 0) { 1.9 + u = _gr.source(_data[u][j].pred); 1.10 + } 1.11 } 1.12 } 1.13