Skip to content

Commit

Permalink
Util indentations
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Ludkin committed Jul 20, 2020
1 parent 709acae commit 61705a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions include/autoppl/util/logging.hpp
Expand Up @@ -31,9 +31,9 @@ struct ProgressLogger {
step = step+1;
if (step % (_max / 100) == 0) {
int percent = static_cast<int>(
static_cast<double>(step) /
(static_cast<double>(_max) / 100.)
);
static_cast<double>(step) /
(static_cast<double>(_max) / 100.)
);
_os << '\r' << _name << " ["
<< std::string(percent, '=')
<< std::string(100 - percent, ' ')
Expand Down
2 changes: 1 addition & 1 deletion include/autoppl/util/time/stopwatch.hpp
Expand Up @@ -21,7 +21,7 @@ struct StopWatch
{
static constexpr double nano = 1e-9;
return std::chrono::duration_cast<
std::chrono::nanoseconds>(end_-start_).count() * nano;
std::chrono::nanoseconds>(end_-start_).count() * nano;
}

private:
Expand Down

0 comments on commit 61705a6

Please sign in to comment.