- Timestamp:
- Dec 20, 2016, 5:06:28 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncephuser.cpp
r7861 r8074 199 199 const double MINDIST = 2.e7; 200 200 const double MAXDIST = 6.e7; 201 if (rr < MINDIST || rr > MAXDIST ) {201 if (rr < MINDIST || rr > MAXDIST || isnan(rr)) { 202 202 eph->setCheckState(t_eph::bad); 203 203 return; … … 254 254 ephL->getCrd(eph->TOC(), xcL, vvL, false); 255 255 256 double dt = eph->TOC() - ephL->TOC();256 double dt = fabs(eph->TOC() - ephL->TOC()); 257 257 double diff = (xc.Rows(1,3) - xcL.Rows(1,3)).norm_Frobenius(); 258 258 double diffC = fabs(xc(4) - xcL(4)) * t_CST::c;
Note:
See TracChangeset
for help on using the changeset viewer.