Changeset 1173

Show
Ignore:
Timestamp:
06/06/07 13:50:15 (19 months ago)
Author:
rporter
Message:

trunk/source/prt_columns.cpp - bug in PrtColumns?, implicit assumption (that an insignificant column could not be found at a stage between two stages with significant columns) was invalid. Print all columns and give -30 for instead of zero for small ones.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/prt_columns.cpp

    r1132 r1173  
    4040                if( dense.lgElmtOn[nelem] ) 
    4141                { 
    42                         bool lgHIT = false; 
    4342                        bool lgDONE = false; 
    4443 
     
    6160                                        TotalInsanity(); 
    6261 
    63                                 if( aa == 0. && lgHIT ) 
     62                                if( aa == 0. ) 
    6463                                { 
    65                                         /* this means we have printed some column, but have gotten to high 
    66                                          * ion state that does not exist */ 
    67                                         lgDONE = true; 
    68                                         break; 
     64                                        aa = -30.; 
    6965                                } 
    7066                                else if( aa > 0. ) 
    7167                                { 
    7268                                        aa = log10(aa); 
    73                                         lgHIT = true; 
    7469                                } 
    7570