We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Stat::switch_ptr()
1 parent c79bcdd commit 2e38d96Copy full SHA for 2e38d96
1 file changed
inst/include/pmt/progress.hpp
@@ -76,13 +76,11 @@ class Stat {
76
{
77
_speed = 1 / elapsed(_time);
78
79
- _init_progress();
80
-
81
_statistic_begin = REAL(_statistic.attr("permu"));
82
_statistic_end = _statistic_begin + Rf_xlength(_statistic.attr("permu"));
83
_statistic_ptr = _statistic_begin;
84
85
- _time = std::chrono::steady_clock::now();
+ _init_progress();
86
}
87
88
bool operator<<(double statistic)
0 commit comments