Ignore:
Timestamp:
01/05/07 16:29:54 (18 years ago)
Author:
bittner
Message:

tmp commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Pvs.h

    r1925 r1942  
    615615  // sample not found yet => search further in the unsorted part 
    616616  if (!found && checkDirty) { 
    617         vector<PvsEntry<T, S> >::const_iterator dit, dit_end = mEntries.end(); 
    618          
    619         for (dit = sorted_end; (dit != dit_end) && ((*dit).mObject != sample); ++ dit) ; 
    620          
    621         if (dit != dit_end) 
     617         
     618        for (it = sorted_end; (it != mEntries.end()) && ((*it).mObject != sample); ++ it) ; 
     619         
     620        if (it != mEntries.end()) 
    622621          found = true; 
    623622  } 
     
    653652        } 
    654653        else  
    655         { 
     654          { 
    656655                PvsEntry<T, S> entry(sample, pdf); 
    657656                mEntries.insert(it, entry); 
    658657                ++ mLastSorted; 
    659658                return pdf; 
    660         } 
     659          } 
    661660} 
    662661 
     
    706705 
    707706        vector<PvsEntry<T, S> >::iterator it; 
    708         const bool entryFound = Find(sample, it); 
     707        bool entryFound = Find(sample, it); 
    709708 
    710709        if (entryFound) { 
Note: See TracChangeset for help on using the changeset viewer.