Changeset 41521a for pcp/src


Ignore:
Timestamp:
Apr 21, 2008, 2:19:26 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
9422fd
Parents:
c13d72
git-author:
Frederik Heber <heber@…> (04/21/08 13:09:44)
git-committer:
Frederik Heber <heber@…> (04/21/08 14:19:26)
Message:

UpdateActualPsiNo(): FIX (found with "git bisect"). About 20 commits ago, R->CurrentMin switch was removed so that perturbed Psis also got orthonormalized (instead of orthogonalized). This broke the minimisation (as in MinimisePerturbed() everything is still set to orthogonalize).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pcp/src/run.c

    rc13d72 r41521a  
    292292    SpeedMeasure(P, GramSchTime, StartTimeDo);
    293293    //OrthogonalizePsis(P);
    294     GramSch(P, R->LevS, &P->Lat.Psi, Orthonormalize);
     294    if (R->CurrentMin <= UnOccupied)
     295      GramSch(P, R->LevS, &P->Lat.Psi, Orthonormalize);
     296    else
     297      GramSch(P, R->LevS, &P->Lat.Psi, Orthogonalize); //Orthogonalize
    295298    SpeedMeasure(P, GramSchTime, StopTimeDo); 
    296299  }
Note: See TracChangeset for help on using the changeset viewer.