:orphan:
# KSPMINRESGetUseQLP
Get the flag for the QLP variant.
## Synopsis
```
#include "petscksp.h"
PetscErrorCode KSPMINRESGetUseQLP(KSP ksp, PetscBool *qlp)
```
Logically Collective
## Input Parameter
- ***ksp -*** the iterative context
## Output Parameter
- ***qlp -*** a Boolean indicating if the QLP variant is used
## See Also
[](ch_ksp), `KSP`, `KSPMINRES`, `KSPMINRESSetUseQLP()`
## Level
beginner
## Location
src/ksp/ksp/impls/minres/minres.c
## Implementations
KSPMINRESGetUseQLP_MINRES in src/ksp/ksp/impls/minres/minres.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/impls/minres/minres.c)
[Index of all KSP routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)