Changeset 10597 in ntrip for trunk/BNC/src
- Timestamp:
- Jan 31, 2025, 10:28:18 AM (13 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppFilter.cpp
r10590 r10597 267 267 if (par) { 268 268 if (par->ambResetCandidate()) { 269 270 271 269 resetAmb(obs->prn(), obsVector, maxOutlierLC, &QSav, &xSav); 270 } 271 else { 272 272 par->setAmbResetCandidate(); 273 273 obs->setOutlier(); … … 382 382 t_irc irc = failure; 383 383 vector<t_pppParam*>& params = _parlist->params(); 384 for (unsigned iPar = 0; iPar < params.size(); iPar++) { 384 unsigned nPar = params.size(); 385 for (unsigned iPar = 0; iPar < nPar; iPar++) { 385 386 t_pppParam *par = params[iPar]; 386 387 if (par->type() == t_pppParam::amb && par->prn() == prn) { … … 400 401 par->setAmbEleSat(eleSat); 401 402 params[iPar] = par; 402 for (unsigned ii = 1; ii <= params.size(); ii++) {403 _QFlt(ii , ind +1) = 0.0;403 for (unsigned ii = 0; ii < nPar; ii++) { 404 _QFlt(ii+1, ind+1) = 0.0; 404 405 if (QSav) { 405 (*QSav)(ii , ind +1) = 0.0;406 } 407 } 408 _QFlt(ind + 1, ind +1) = par->sigma0() * par->sigma0();406 (*QSav)(ii+1, ind+1) = 0.0; 407 } 408 } 409 _QFlt(ind+1,ind+1) = par->sigma0() * par->sigma0(); 409 410 if (QSav) { 410 (*QSav)(ind + 1, ind + 1) = _QFlt(ind + 1, ind +1);411 (*QSav)(ind+1,ind+1) = _QFlt(ind+1,ind+1); 411 412 } 412 413 _xFlt[ind] = 0.0;
Note:
See TracChangeset
for help on using the changeset viewer.