Commits

Michael Lange committed ea11b1e Draft

Fixing the previous fix.

Comments (0)

Files changed (1)

include/petsc-private/matimpl.h

     if (nz % nthread > 0) chunk++;
     A->thread_start[0] = 0;
     t = 1;
-    for (i=0; i<m; i++){
+    for (i=0; i<m+1; i++){
       if (ii[i] >= (t*chunk) && t < nthread) {
 	A->thread_start[t] = i;
 	A->thread_end[t-1] = i;