Skip to content

Commit

Permalink
fix CRAN WARN
Browse files Browse the repository at this point in the history
  • Loading branch information
hyacz committed Nov 27, 2023
1 parent 9345a5b commit 429d0d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kinship.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ class MinimalProgressBar: public ProgressBar{
void update(float progress) {
if (_finalized) return;
REprintf("\r");
REprintf("Calculating in process...(finished %.2f%)", progress * 100);
REprintf("Calculating in process...(finished %.2f%%)", progress * 100);
}
void end_display() {
if (_finalized) return;
REprintf("\r");

REprintf("Calculating in process...(finished 100.00%)");
REprintf("Calculating in process...(finished 100.00%%)");
REprintf("\n");
_finalized = true;
}
Expand Down

0 comments on commit 429d0d5

Please sign in to comment.