1. petsc
  2. PETSc
  3. petsc

Commits

Matt Knepley  committed 8c85052

DMPlex: Fix variable init

  • Participants
  • Parent commits 60b9e8a
  • Branches master

Comments (0)

Files changed (1)

File src/dm/impls/plex/plex.c

View file
   PetscInt       *cone;
   PetscInt        dim, spatialDim, numVertices, v, numCorners, numCells, cell, c;
   hid_t           fileId, groupId;
-  hsize_t         idx;
+  hsize_t         idx = 0;
   herr_t          status;
   PetscErrorCode  ierr;