Skip to content

Commit

Permalink
docs: pi definition fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Oct 30, 2024
1 parent 8ca8270 commit 1aac89f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/users_guide/framework_basics/systems_of_units.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ For some units, a magnitude might also be irrational. The best example here is a
is defined using a floating-point magnitude having a factor of the number π (Pi):
```cpp
inline constexpr struct pi final : mag_constant<symbol_text{u8"π", "pi"}, std::numbers::pi_v<long double>> {
inline constexpr struct pi final : mag_constant<symbol_text{u8"π", "pi"}, std::numbers::pi_v<long double>> {} pi;
inline constexpr auto π = pi;
```

Expand Down

0 comments on commit 1aac89f

Please sign in to comment.