Changeset 8774 in ntrip for trunk/BNC/src
- Timestamp:
- Jun 7, 2019, 10:23:21 AM (5 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncutils.cpp
r8692 r8774 464 464 // 465 465 //////////////////////////////////////////////////////////////////////////// 466 intfactorial(int n) {466 double factorial(int n) { 467 467 if (n == 0) { 468 468 return 1; -
trunk/BNC/src/pppModel.cpp
r8619 r8774 554 554 for (int m = 0; m <= min(n, M); m++) { 555 555 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); 558 558 if (m == 0) { 559 559 fac = sqrt(2.0 * n + 1); … … 570 570 571 571 if (vtec < 0.0) { 572 return0.0;572 vtec = 0.0; 573 573 } 574 574
Note:
See TracChangeset
for help on using the changeset viewer.