Changeset 8774 in ntrip for trunk/BNC/src/pppModel.cpp


Ignore:
Timestamp:
Jun 7, 2019, 10:23:21 AM (5 years ago)
Author:
stuerze
Message:

minor changes in factorial method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/pppModel.cpp

    r8619 r8774  
    554554    for (int m = 0; m <= min(n, M); m++) {
    555555      double pnm = associatedLegendreFunction(n, m, sin(_phiPP));
    556       double a = double(factorial(n - m));
    557       double b = double(factorial(n + m));
     556      double a = factorial(n - m);
     557      double b = factorial(n + m);
    558558      if (m == 0) {
    559559        fac = sqrt(2.0 * n + 1);
     
    570570
    571571  if (vtec < 0.0) {
    572     return 0.0;
     572    vtec = 0.0;
    573573  }
    574574
Note: See TracChangeset for help on using the changeset viewer.