1. Lisandro Dalcin
  2. PetIGA

Commits

Lisandro Dalcin  committed d86a800

Quick for uninitialized variable warnings

  • Participants
  • Parent commits ae68f0d
  • Branches default

Comments (0)

Files changed (1)

File demo/PatternFormation.c

View file
  • Ignore whitespace
   PetscReal tau1  = user->tau1;
   PetscReal tau2  = user->tau2;
 
-  PetscReal f_u,f_v,g_u,g_v;
+  PetscReal f_u=0,f_v=0,g_u=0,g_v=0;
   if (IMPLICIT) {
     PetscScalar uv_0[2];
     IGAPointInterpolate(point,0,U1,&uv_0[0]);