           typename size_type>
 __global__ 
 void compute_row_partition_numbers(gdf_table<size_type> const & the_table, 
-                                     const size_type num_rows,
-                                     const size_type num_partitions,
-                                     const partitioner_type the_partitioner,
-                                     size_type * row_partition_numbers,
-                                     size_type * partition_sizes)
+                                   const size_type num_rows,
+                                   const size_type num_partitions,
+                                   const partitioner_type the_partitioner,
+                                   size_type * row_partition_numbers,
+                                   size_type * partition_sizes)
 {
   size_type row_number = threadIdx.x + blockIdx.x * blockDim.x;
 

  // Compute the output location for each row in-place based on it's 
  // partition number such that each partition will be contiguous in memory
  size_type * row_output_locations{row_partition_numbers};
  thrust::transform(row_partition_numbers,
                    row_partition_numbers + num_rows,
                    row_output_locations,
                    compute_row_output_location<size_type>(partition_sizes));


  gdf_error gdf_status{GDF_SUCCESS};

  thrust::scatter(thrust::cuda::par,
                  input_column,
                  input_column + num_rows,
                  row_output_locations,
                  output_column);
