Fixing signed to unsigned comparison warning
This commit is contained in:
		
							parent
							
								
									faba474def
								
							
						
					
					
						commit
						528d0a2899
					
				| @ -171,7 +171,7 @@ private: | |||||||
|         cout << "Scanning for useless shortcuts" << endl; |         cout << "Scanning for useless shortcuts" << endl; | ||||||
|         BuildOutgoingGraph(); |         BuildOutgoingGraph(); | ||||||
| #pragma omp parallel for | #pragma omp parallel for | ||||||
|         for ( int i = 0; i < ( unsigned ) _graph.size(); i++ ) { |         for ( unsigned i = 0; i < ( unsigned ) _graph.size(); i++ ) { | ||||||
|             for ( unsigned edge = _firstEdge[_graph[i].source]; edge < _firstEdge[_graph[i].source + 1]; ++edge ) { |             for ( unsigned edge = _firstEdge[_graph[i].source]; edge < _firstEdge[_graph[i].source + 1]; ++edge ) { | ||||||
|                 if ( edge == i ) |                 if ( edge == i ) | ||||||
|                     continue; |                     continue; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user