Ignore:
Timestamp:
Feb 9, 2009, 11:17:28 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
f23d7d
Parents:
dafe43
git-author:
Frederik Heber <heber@…> (02/09/09 23:16:19)
git-committer:
Frederik Heber <heber@…> (02/09/09 23:17:28)
Message:

Chi integration had some copy&paste error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/analyzer.cpp

    rdafe43 r97c751  
    177177    output << endl;
    178178
    179     output << endl << "Total Chis" << endl << "===============" << endl << Chi.Header[Hessian.MatrixCounter] << endl;
     179    output << endl << "Total Chis" << endl << "===============" << endl << Chi.Header[Chi.MatrixCounter] << endl;
    180180    for(int j=0;j<Chi.RowCounter[Chi.MatrixCounter];j++) {
    181       for(int k=0;k<Chi.ColumnCounter[Chi.MatrixCounter];k++)
     181      for(int k=0;k<Chi.ColumnCounter;k++)
    182182        output << scientific << Chi.Matrix[ Chi.MatrixCounter ][j][k] << "\t";
    183183      output << endl;
     
    187187    output << endl << "Total Chis PAS" << endl << "===============" << endl << ChiPAS.Header[ChiPAS.MatrixCounter] << endl;
    188188    for(int j=0;j<ChiPAS.RowCounter[ChiPAS.MatrixCounter];j++) {
    189       for(int k=0;k<ChiPAS.ColumnCounter[ChiPAS.MatrixCounter];k++)
     189      for(int k=0;k<ChiPAS.ColumnCounter;k++)
    190190        output << scientific << ChiPAS.Matrix[ ChiPAS.MatrixCounter ][j][k] << "\t";
    191191      output << endl;
     
    265265    for(int j=0;j<ChiPAS.RowCounter[ChiPAS.MatrixCounter];j++) {
    266266      output << j << "\t";
    267       for(int k=0;k<ChiPAS.ColumnCounter[ChiPAS.MatrixCounter];k++)
     267      for(int k=0;k<ChiPAS.ColumnCounter;k++)
    268268        output << scientific <<  ChiPAS.Matrix[ ChiPAS.MatrixCounter ][j][k] << "\t"; //*(((k>1) && (k<6))? 1.e6 : 1.) << "\t";
    269269      output << endl;
Note: See TracChangeset for help on using the changeset viewer.