Skip to content

Commit

Permalink
style: happy turtle
Browse files Browse the repository at this point in the history
  • Loading branch information
tilsche committed Jul 6, 2023
1 parent b58e801 commit 545c5e9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/timesync/msequence.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#pragma once

#include <vector>
#include <iostream>
#include <optional>
#include <type_traits>
#include <vector>

#include <cassert>

Expand Down
16 changes: 9 additions & 7 deletions src/timesync/shifter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,15 @@ class Shifter

ifft_.check_finite();

auto mainlobe = std::max_element(ifft_.out_begin(), ifft_.out_end(), [](auto a, auto b) {
if (!std::isfinite(a) || !std::isfinite(b))
{
return false;
}
return a < b;
});
auto mainlobe = std::max_element(ifft_.out_begin(), ifft_.out_end(),
[](auto a, auto b)
{
if (!std::isfinite(a) || !std::isfinite(b))
{
return false;
}
return a < b;
});

auto correlation_filename = scorep::environment_variable::get("CORRELATION_FILE");
if (!correlation_filename.empty())
Expand Down

0 comments on commit 545c5e9

Please sign in to comment.