Skip to content

Commit c7e22bf

Browse files
committed
Fix formatting
1 parent 8b52854 commit c7e22bf

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

test/git_issue_959.cpp

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,29 @@ using tControlPoints = std::vector<std::array<double, 3>>;
1414
void interpolateWithPoints(tControlPoints cp)
1515
{
1616
const auto cpSize = cp.size();
17-
auto bp = boost::math::interpolators::bezier_polynomial(std::move(cp));
17+
auto bp = boost::math::interpolators::bezier_polynomial(std::move(cp));
1818

19-
// Interpolate at t = 0.5:
20-
std::array<double, 3> point = bp(0.5);
19+
// Interpolate at t = 0.5:
20+
std::array<double, 3> point = bp(0.5);
2121
std::cout << cpSize << " points, t = 0.5:\n";
2222

23-
for (const auto& c : point)
23+
for (const auto& c : point)
2424
{
25-
std::cout << " " << c << "\n";
26-
}
25+
std::cout << " " << c << "\n";
26+
}
2727
}
2828

2929

3030
int main(void)
3131
{
32-
auto cp3 = tControlPoints{{0,0,0}, {1,0,0}, {0,1,0}};
33-
interpolateWithPoints(cp3);
32+
auto cp3 = tControlPoints{{0,0,0}, {1,0,0}, {0,1,0}};
33+
interpolateWithPoints(cp3);
3434

35-
auto cp4 = tControlPoints{{0,0,0}, {1,0,0}, {0,1,0}, {0,0,1}};
36-
interpolateWithPoints(cp4);
35+
auto cp4 = tControlPoints{{0,0,0}, {1,0,0}, {0,1,0}, {0,0,1}};
36+
interpolateWithPoints(cp4);
3737

38-
auto cp3b = tControlPoints{{0,0,0}, {1,0,0}, {0,1,0}};
39-
interpolateWithPoints(cp3b);
38+
auto cp3b = tControlPoints{{0,0,0}, {1,0,0}, {0,1,0}};
39+
interpolateWithPoints(cp3b);
4040

41-
return 0;
42-
}
41+
return 0;
42+
}

0 commit comments

Comments
 (0)