On Thu, 19 May 2016, Satish Balay wrote: > I was going to push the following fix to mark/snes-ex56c. > > diff --git a/src/ksp/ksp/impls/cheby/cheby.c b/src/ksp/ksp/impls/cheby/cheby.c > index f2a26bf..722d32d 100644 > --- a/src/ksp/ksp/impls/cheby/cheby.c > +++ b/src/ksp/ksp/impls/cheby/cheby.c > @@ -369,7 +369,7 @@ static PetscErrorCode KSPSolve_Chebyshev(KSP ksp) > ierr = VecGetLocalSize(B,&n);CHKERRQ(ierr); > ierr = VecGetArray(B,&xx);CHKERRQ(ierr); > for (i=0; i<n; i++) { > - PetscReal v = chebyhash(i+istart); > + PetscScalar v = chebyhash(i+istart); > xx[i] = v; > } > ierr = VecRestoreArray(B,&xx);CHKERRQ(ierr);
pushed to mark/snes-ex56c and merged with next. satish