No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
1d39ba1
... +0 ...
691ef6b
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
264 | 264 | const NumericVector Weight, |
|
265 | 265 | const LogicalVector IsReferenceType, |
|
266 | 266 | const LogicalVector IsNeighborType, |
|
267 | - | NumericMatrix Nbd |
|
268 | - | ) : |
|
267 | + | NumericMatrix Nbd) : |
|
269 | 268 | r1(r1), |
|
270 | 269 | RDmatrix(Dmatrix), |
|
271 | 270 | RWeight(Weight), |
365 | 364 | const NumericVector Weight, |
|
366 | 365 | const LogicalVector IsReferenceType, |
|
367 | 366 | const LogicalVector IsNeighborType, |
|
368 | - | NumericMatrix Nbd |
|
369 | - | ) : |
|
367 | + | NumericMatrix Nbd) : |
|
370 | 368 | r2(r2), |
|
371 | 369 | Rx(x), |
|
372 | 370 | Ry(y), |
471 | 469 | const NumericVector Weight, |
|
472 | 470 | const LogicalVector IsReferenceType, |
|
473 | 471 | const LogicalVector IsNeighborType, |
|
474 | - | NumericMatrix Nbd |
|
475 | - | ) : |
|
472 | + | NumericMatrix Nbd) : |
|
476 | 473 | r1(r1), |
|
477 | 474 | RDmatrix(Dmatrix), |
|
478 | 475 | RWeight(Weight), |
487 | 484 | double Npoints = RIsNeighborType.length(); |
|
488 | 485 | unsigned int k, c; |
|
489 | 486 | // c is the index of case points in the RNbd output matrix, whilst i is their index in input data |
|
490 | - | c = std::count(RIsReferenceType.begin(), RIsReferenceType.begin()+begin, true); |
|
487 | + | c = std::count(RIsReferenceType.begin(), RIsReferenceType.begin() + begin, true); |
|
491 | 488 | ||
492 | 489 | for (unsigned int i = begin; i < end; i++) { |
|
493 | 490 | // Consider cases |
506 | 503 | } |
|
507 | 504 | // The neighbor is a control: add j's weight to i's neighborhood |
|
508 | 505 | if (RIsNeighborType[j]) { |
|
509 | - | RNbd(c, Nr+k) += RWeight[j]; |
|
506 | + | RNbd(c, Nr + k) += RWeight[j]; |
|
510 | 507 | } |
|
511 | 508 | // The neighbor is a case: add it to i's neighborhood |
|
512 | 509 | if (RIsReferenceType[j]) { |
559 | 556 | const NumericVector x, |
|
560 | 557 | const NumericVector y, |
|
561 | 558 | const IntegerVector ReferencePoints, |
|
562 | - | NumericMatrix Nbd |
|
563 | - | ) : |
|
559 | + | NumericMatrix Nbd) : |
|
564 | 560 | Rx(x), |
|
565 | 561 | Ry(y), |
|
566 | 562 | RReferencePoints(ReferencePoints), |
Files | Coverage |
---|---|
R | 82.40% |
src/CountNbd.cpp | 65.55% |
Project Totals (47 files) | 79.82% |
691ef6b
1d39ba1