@register_jitable
def _median_inner(temp_arry, n):
 low = 0
 high = (n - 1)
 half = (n >> 1)
 if ((n & 1) == 0):
  (a, b) = _select_two(temp_arry, (half - 1), low, high)
  return ((a + b) / 2)
 else:
  return _select(temp_arry, half, low, high)

@ register_jitable def _median_inner ( temp_arry , n ) : low = 0 high = ( n - 1 ) half = ( n >> 1 ) if ( ( n & 1 ) == 0 ) : ( a , b ) = _select_two ( temp_arry , ( half - 1 ) , low , high ) return ( ( a + b ) / 2 ) else : return _select ( temp_arry , half , low , high )
the main logic of the median() call .