Permalink
Browse files

tao: fix negative blas counter in pounders

  • Loading branch information...
sarich committed Jan 29, 2014
1 parent 5b0d99a commit 8a35fac90a6b3dcc553f234723f6e9bf3d69014b
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/tao/leastsquares/impls/pounders/pounders.c
@@ -757,6 +757,7 @@ static PetscErrorCode TaoSolve_POUNDERS(TaoSolver tao)
/* Evaluate at a model-improving point if necessary */
if (valid == PETSC_FALSE) {
mfqP->q_is_I = 1;
+ mfqP->nmodelpoints = 0;
ierr = affpoints(mfqP,mfqP->xmin,mfqP->c1);CHKERRQ(ierr);
if (mfqP->nmodelpoints < mfqP->n) {
ierr = PetscInfo(tao,"Model not valid -- model-improving");

0 comments on commit 8a35fac

Please sign in to comment.