Commits

Shrirang Abhyankar committed ff5b812

Use 0 instead of NULL for d_nz in MatSeqAIJSetPreallocation call.

  • Participants
  • Parent commits 0b45a8c
  • Branches jed/next-seaice, knepley/fix-quadrature-order 5
    1. madams/sr-driver
    2. madams/sr1
    3. next-oct-2014
    4. shri/FTRTDS-project
    5. shri/ts-powergrid

Comments (0)

Files changed (1)

src/ts/examples/tutorials/power_grid/stability_9bus/ex9bus.c

     ierr = MatRestoreRow(user->Ybus,2*i,&ncols,NULL,NULL);CHKERRQ(ierr);
   }
 
-  ierr = MatSeqAIJSetPreallocation(J,NULL,d_nnz);CHKERRQ(ierr);
+  ierr = MatSeqAIJSetPreallocation(J,0,d_nnz);CHKERRQ(ierr);
 
   ierr = PetscFree(d_nnz);CHKERRQ(ierr);
   PetscFunctionReturn(0);