Changeset 4dc9899 in git for src/datain.c


Ignore:
Timestamp:
06/03/15 05:10:39 (5 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
2f0b258
Parents:
498a7c1
Message:

src/datain.c: Warn if fore and back measurements differ by more than
3 SDs, rather than just by 2 SDs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/datain.c

    r498a7c1 r4dc9899  
    900900         real adj = fabs(diff) > M_PI ? M_PI : 0;
    901901         diff -= floor((diff + M_PI) / (2 * M_PI)) * 2 * M_PI;
    902          if (sqrd(diff / 2.0) > compvar + VAR(Q_BACKBEARING)) {
    903             /* fore and back readings differ by more than 2 sds */
     902         if (sqrd(diff / 3.0) > compvar + VAR(Q_BACKBEARING)) {
     903            /* fore and back readings differ by more than 3 sds */
    904904            /* TRANSLATORS: Degrees are the angular measurement where there are
    905905             * 360 in a full circle. */
Note: See TracChangeset for help on using the changeset viewer.