File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -340,12 +340,13 @@ GrB_Info GB_ijxvector
340340 int nthreads_max = GB_Context_nthreads_max ( ) ;
341341 double chunk = GB_Context_chunk ( ) ;
342342 int nthreads = GB_nthreads (n , chunk , nthreads_max ) ;
343+ int64_t k ;
343344 if (I_type == GrB_UINT32 )
344345 {
345346 uint32_t * I = (uint32_t * ) (* I_handle ) ;
346347 #pragma omp parallel for num_threads(nthreads) \
347348 schedule(static)
348- for (int64_t k = 0 ; k < n ; k ++ )
349+ for (k = 0 ; k < n ; k ++ )
349350 {
350351 I [k ] = k ;
351352 }
@@ -355,7 +356,7 @@ GrB_Info GB_ijxvector
355356 uint64_t * I = (uint64_t * ) (* I_handle ) ;
356357 #pragma omp parallel for num_threads(nthreads) \
357358 schedule(static)
358- for (int64_t k = 0 ; k < n ; k ++ )
359+ for (k = 0 ; k < n ; k ++ )
359360 {
360361 I [k ] = k ;
361362 }
You can’t perform that action at this time.
0 commit comments