From 1aac89f4124009b4f3ed7d29bbd812ec3b2913a6 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Wed, 30 Oct 2024 09:57:14 +0100 Subject: [PATCH] docs: `pi` definition fixed --- docs/users_guide/framework_basics/systems_of_units.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/users_guide/framework_basics/systems_of_units.md b/docs/users_guide/framework_basics/systems_of_units.md index 8d60560a..2dea4b76 100644 --- a/docs/users_guide/framework_basics/systems_of_units.md +++ b/docs/users_guide/framework_basics/systems_of_units.md @@ -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> { +inline constexpr struct pi final : mag_constant> {} pi; inline constexpr auto π = pi; ```