Changeset 3406 in ntrip for trunk/BNC


Ignore:
Timestamp:
Sep 2, 2011, 7:29:34 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r3405 r3406  
    13261326    ColumnVector    dx;
    13271327
    1328     do {
     1328    unsigned numOutliers = 0;
     1329
     1330    for (;;) {
    13291331
    13301332      // Bancroft Solution
     
    14491451      }
    14501452   
    1451     } while (outlierDetection(iPhase, QQsav, vv, epoData->satDataGPS,
    1452                               epoData->satDataGlo, epoData->satDataGal) != 0);
     1453      if (outlierDetection(iPhase, QQsav, vv, epoData->satDataGPS,
     1454                           epoData->satDataGlo, epoData->satDataGal) == 0) {
     1455        break;
     1456      }
     1457      else {
     1458        ++numOutliers;
     1459      }
     1460
     1461      if (numOutliers > 1) {
     1462        restoreState();
     1463        _log += "bncModel::update_p: too many outliers\n";
     1464        emit newMessage(_log, false);
     1465        return failure;
     1466      }
     1467
     1468    }
    14531469
    14541470    // Update Parameters
Note: See TracChangeset for help on using the changeset viewer.