Changeset 92 for proiecte


Ignore:
Timestamp:
Jan 11, 2010, 6:53:47 PM (14 years ago)
Author:
(none)
Message:

corrected issues jacobi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proiecte/PPPP/eigenface/new/jacobi.c

    r91 r92  
    9292                                        a[ip][iq]=0.0;
    9393                                       
    94                                         for (j=0;j<ip-1;j++) { // Case of rotations 1 <= j < p.
     94                                        for (j=0;j<=ip-1;j++) { // Case of rotations 1 <= j < p.
    9595                                                ROTATE(a,j,ip,j,iq)
    9696                                        }
    97                                         for (j=ip+1;j<iq-1;j++) { // Case of rotations p < j < q.
     97                                        for (j=ip+1;j<=iq-1;j++) { // Case of rotations p < j < q.
    9898                                                ROTATE(a,ip,j,j,iq)
    9999                                        }
Note: See TracChangeset for help on using the changeset viewer.