1. petsc
  2. PETSc
  3. petsc-3.3

Commits

Jed Brown  committed a56e8ed

Declare variables if either xHSEQR or xTRSEN is available

  • Participants
  • Parent commits 33f6fc4
  • Branches default

Comments (0)

Files changed (1)

File src/ksp/ksp/impls/gmres/dgmres/dgmres.c

View file
     PetscBLASInt *select;
     PetscBLASInt *iwork;
     PetscBLASInt liwork;
-#if !defined(PETSC_MISSING_LAPACK_HSEQR) 
+#if !defined(PETSC_MISSING_LAPACK_HSEQR) || !defined(PETSC_MISSING_LAPACK_TRSEN)
     PetscBLASInt 	ilo=1;
     PetscBLASInt        info;
     PetscReal 		CondEig; /* lower bound on the reciprocal condition number for the selected cluster of eigenvalues */