     int h_in = h_out * strideH - paddingH;
     int d_in = d_out * strideD - paddingD;
 
-    dataDst += ((channel_out * depth_col + d_out) * height_col + h_out) * width_col + w_out;
+    dataDst +=
+        ((channel_out * depth_col + d_out) * height_col + h_out) * width_col +
+        w_out;
     dataSrc += ((channel_in * depth + d_in) * height + h_in) * width + w_in;
     for (int k = 0; k < filterD; ++k) {
       for (int i = 0; i < filterH; ++i) {

}

void hl_matrix_vol2Col(real* dataSrc,
                       int channels, int depth, int height, int width,
                       int filterD, int filterH, int filterW,
                       int strideD, int strideH, int strideW,
                       int paddingD, int paddingH, int paddingW, real* dataDst){

  int depth_col = (depth + 2 * paddingD - filterD) / strideD + 1;
  int height_col = (height + 2 * paddingH - filterH) / strideH + 1;
  int width_col = (width + 2 * paddingW - filterW) / strideW + 1;

          int d = d_in + k;
          int h = h_in + i;
          int w = w_in + j;
          *dataDst = (d >= 0 && d < depth && h >= 0 && h < height && w >= 0 &&
                      w < width)
                         ? dataSrc[(k * height + i) * width + j]
                         : 0;
          dataDst += depth_col * height_col * width_col;
        }
      }
