- Timestamp:
- Dec 21, 2014, 3:48:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r6323 r6398 191 191 double t_reqcAnalyze::cmpDOP(const ColumnVector& xyzSta) const { 192 192 193 if ( xyzSta.size() != 3) {193 if ( xyzSta.size() != 3 || (xyzSta[0] == 0.0 && xyzSta[1] == 0.0 && xyzSta[2] == 0.0) ) { 194 194 return 0.0; 195 195 } … … 281 281 ColumnVector xc(4); 282 282 ColumnVector vv(3); 283 if (xyzSta.size() && eph->getCrd(epoTime, xc, vv, false) == success) { 283 if ( xyzSta.size() == 3 && (xyzSta[0] != 0.0 || xyzSta[1] != 0.0 || xyzSta[2] != 0.0) && 284 eph->getCrd(epoTime, xc, vv, false) == success) { 284 285 double rho, eleSat, azSat; 285 286 topos(xyzSta(1), xyzSta(2), xyzSta(3), xc(1), xc(2), xc(3), rho, eleSat, azSat);
Note:
See TracChangeset
for help on using the changeset viewer.