Find the common element in two arrays, given a total of num_labels unique elements. Used by find_spanning_cluster.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in), | dimension(:) | :: | array1 | Array to analyse.  | 
  
|
| integer, | intent(in), | dimension(:) | :: | array2 | Array to analyse.  | 
  
|
| integer, | intent(in) | :: | num_labels | The known number of unique non-zero elements.  | 
  
The first non-zero common element.