Commits

Peter Brune committed c113202

SNESGS: Fix for uninitialized variable warning in gssecant.c

  • Participants
  • Parent commits 315bab2

Comments (0)

Files changed (1)

File src/snes/impls/gs/gssecant.c

   PetscScalar    h=gs->h;
   IS             *coloris;
   PetscScalar    f,g,x,w,d;
-  PetscReal      dxt,xt,ft,ft1;
+  PetscReal      dxt,xt,ft,ft1=0;
   const PetscInt *idx;
   PetscInt       size,s;
   PetscReal      atol,rtol,stol;