1. petsc
  2. PETSc
  3. petsc

Commits

Peter Brune  committed be2ad42

SNESGS: Fix for warning in the GS-Secant code.

  • Participants
  • Parent commits 315bab2
  • Branches master

Comments (0)

Files changed (1)

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

View file
  • Ignore whitespace
   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;