Changeset 398 for trunk/src/SDMathWrapper.cc
- Timestamp:
- 02/09/05 13:07:20 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMathWrapper.cc
r355 r398 250 250 251 251 void SDMathWrapper::frequencyAlignmentInSitu (SDMemTableWrapper& in, const std::string& refTime, 252 const std::string& method) 253 { 254 SDMemTable* pIn = in.getPtr(); 255 SDMath sdm; 256 SDMemTable* pOut = sdm.frequencyAlignment(*pIn, String(refTime), String(method)); 252 const std::string& method, bool perFreqID) 253 { 254 SDMemTable* pIn = in.getPtr(); 255 SDMath sdm; 256 SDMemTable* pOut = sdm.frequencyAlignment(*pIn, String(refTime), String(method), 257 Bool(perFreqID)); 257 258 *pIn = *pOut; 258 259 delete pOut; … … 262 263 SDMemTableWrapper SDMathWrapper::frequencyAlignment (const SDMemTableWrapper& in, 263 264 const std::string& refTime, 264 const std::string& method) 265 { 266 const CountedPtr<SDMemTable>& pIn = in.getCP(); 267 SDMath sdm; 268 return CountedPtr<SDMemTable>(sdm.frequencyAlignment(*pIn, String(refTime), String(method))); 265 const std::string& method, 266 bool perFreqID) 267 { 268 const CountedPtr<SDMemTable>& pIn = in.getCP(); 269 SDMath sdm; 270 return CountedPtr<SDMemTable>(sdm.frequencyAlignment(*pIn, String(refTime), 271 String(method), Bool(perFreqID))); 269 272 } 270 273
Note: See TracChangeset
for help on using the changeset viewer.