Changeset e7490ea in tol
- Timestamp:
- Apr 28, 2011, 5:17:10 PM (15 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 9bb0198
- Parents:
- 0c16934
- Location:
- tol/btol/serie_type
- Files:
-
- 2 edited
-
tsr.cpp (modified) (1 diff)
-
tsrgrav.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/serie_type/tsr.cpp
r0c16934 re7490ea 258 258 if(!Dating()) { return(-1); } 259 259 BInt index = -1; 260 261 if(FirstDate().HasValue()) index = Dating()->Difference(FirstDate(),dte); 262 260 BDate d = Dating()->Prev(Dating()->Next(dte)); 261 if(FirstDate().HasValue()) index = Dating()->Difference(FirstDate(),d); 263 262 return(index); 264 263 } -
tol/btol/serie_type/tsrgrav.cpp
r0c16934 re7490ea 285 285 if(prev.HasValue()) 286 286 { 287 BHash hash; center_->GetHashBetween(hash, dte, next);287 BHash hash; center_->GetHashBetween(hash, prev, next); 288 288 dat = hash.Size(); 289 289 if(hash[hash.Size()-1]==next.Hash()) { dat -= 1; }
Note: See TracChangeset
for help on using the changeset viewer.
