Skip to content

Commit

Permalink
style: clang-format applied to distibution_test.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed May 8, 2024
1 parent 1c164b7 commit 5bac7d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtime/distribution_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ TEST_CASE("piecewise_constant_distribution")
{
const std::initializer_list<rep> intervals_rep = {1.0, 2.0, 3.0};
const std::initializer_list<q> intervals_qty = {1.0 * isq::length[si::metre], 2.0 * isq::length[si::metre],
3.0 * isq::length[si::metre]};
3.0 * isq::length[si::metre]};

auto stl_dist = std::piecewise_constant_distribution<rep>(intervals_rep, [](rep val) { return val; });
auto units_dist = mp_units::piecewise_constant_distribution<q>(
Expand Down Expand Up @@ -630,7 +630,7 @@ TEST_CASE("piecewise_linear_distribution")
{
const std::initializer_list<rep> intervals_rep = {1.0, 2.0, 3.0};
const std::initializer_list<q> intervals_qty = {1.0 * isq::length[si::metre], 2.0 * isq::length[si::metre],
3.0 * isq::length[si::metre]};
3.0 * isq::length[si::metre]};

auto stl_dist = std::piecewise_linear_distribution<rep>(intervals_rep, [](rep val) { return val; });
auto units_dist = mp_units::piecewise_linear_distribution<q>(
Expand Down

0 comments on commit 5bac7d3

Please sign in to comment.