]> granicus.if.org Git - liblinear/commitdiff
Replace long with long int in linear.cpp for consistency
authorWei-Sheng Chin <d01944006@csie.ntu.edu.tw>
Sat, 2 Nov 2013 06:45:49 +0000 (14:45 +0800)
committerWei-Sheng Chin <d01944006@csie.ntu.edu.tw>
Sat, 2 Nov 2013 06:45:49 +0000 (14:45 +0800)
linear.cpp

index c1ea23b7f372e1a5cf8865ced776fdc52e8cd81b..684383347890084231332c4b38f6cda686744124 100644 (file)
@@ -2051,8 +2051,8 @@ static void transpose(const problem *prob, feature_node **x_space_ret, problem *
        int i;
        int l = prob->l;
        int n = prob->n;
-       long nnz = 0;
-       long *col_ptr = new long[n+1];
+       long int nnz = 0;
+       long int *col_ptr = new long int [n+1];
        feature_node *x_space;
        prob_col->l = l;
        prob_col->n = n;