Changeset 3382 in ntrip for trunk/BNC/bncmodel.cpp
- Timestamp:
- Aug 28, 2011, 6:08:33 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r3381 r3382 259 259 _ellBanc.ReSize(3); _ellBanc = 0.0; 260 260 261 // Save for Outlier Detection262 // -------------------------- 263 _epoData_sav = 0;261 // Save copy of data (used in outlier detection) 262 // --------------------------------------------- 263 _epoData_sav = new t_epoData(); 264 264 } 265 265 … … 1374 1374 else { 1375 1375 if (nNeglected == 0) { 1376 delete _epoData_sav; 1377 _epoData_sav = new t_epoData(*epoData); 1376 _epoData_sav->deepCopy(epoData); 1378 1377 } 1379 1378 } … … 1545 1544 } 1546 1545 1547 delete _epoData_sav; 1548 _epoData_sav = new t_epoData(*epoData); 1546 _epoData_sav->deepCopy(epoData); 1549 1547 } 1550 1548 … … 1568 1566 } 1569 1567 1570 epoData->tt = _epoData_sav->tt; 1571 QMapIterator<QString, t_satData*> itGPS(_epoData_sav->satDataGPS); 1572 while (itGPS.hasNext()) { 1573 itGPS.next(); 1574 epoData->satDataGPS.remove(itGPS.key()); 1575 epoData->satDataGPS[itGPS.key()] = new t_satData(*itGPS.value()); 1576 } 1577 QMapIterator<QString, t_satData*> itGlo(_epoData_sav->satDataGlo); 1578 while (itGlo.hasNext()) { 1579 itGlo.next(); 1580 epoData->satDataGlo.remove(itGlo.key()); 1581 epoData->satDataGlo[itGlo.key()] = new t_satData(*itGlo.value()); 1582 } 1583 QMapIterator<QString, t_satData*> itGal(_epoData_sav->satDataGal); 1584 while (itGal.hasNext()) { 1585 itGal.next(); 1586 epoData->satDataGal.remove(itGal.key()); 1587 epoData->satDataGal[itGal.key()] = new t_satData(*itGal.value()); 1588 } 1589 1568 epoData->deepCopy(_epoData_sav); 1590 1569 } 1591 1570 … … 1595 1574 std::vector<QString>* allPrns) { 1596 1575 1576 // GPS 1577 // --- 1597 1578 QMapIterator<QString, t_satData*> itGPS(epoData->satDataGPS); 1598 1579 while (itGPS.hasNext()) {
Note:
See TracChangeset
for help on using the changeset viewer.