Changeset 342 in Sophya for trunk/Poubelle/archTOI.old/toiinterpolator.cc
- Timestamp:
- Aug 2, 1999, 3:45:52 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/toiinterpolator.cc
r315 r342 58 58 } 59 59 60 bool TOIInterpolator::isNewValue(long sample) 61 { 62 deque<pair>::iterator i = hist.begin(); 63 while (i!=hist.end()) { 64 if ((*i).t == sample) return true; 65 if ((*i).t > sample) return false; 66 i++; 67 } 68 return false; 69 } 70 71 60 72 long TOIInterpolator::nextSample(long sampleMin) 61 73 {
Note:
See TracChangeset
for help on using the changeset viewer.