From 485a53d3d7e51ced6272327564770f22af8166ca Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 2 Jul 2024 11:45:11 +0100 Subject: [PATCH] docs: small cleanup of the Affine Space chapter --- docs/users_guide/framework_basics/the_affine_space.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/users_guide/framework_basics/the_affine_space.md b/docs/users_guide/framework_basics/the_affine_space.md index 91d16dd6..688c4379 100644 --- a/docs/users_guide/framework_basics/the_affine_space.md +++ b/docs/users_guide/framework_basics/the_affine_space.md @@ -469,7 +469,7 @@ choose from here. Depending on our needs or tastes, we can: ```cpp quantity_point q1 = si::zeroth_degree_Celsius + delta(20.5); - quantity_point q2 = {delta(20.5), si::zeroth_degree_Celsius}; + quantity_point q2{delta(20.5), si::zeroth_degree_Celsius}; quantity_point q3{delta(20.5)}; quantity_point q4 = absolute(20.5); ``` @@ -478,7 +478,7 @@ choose from here. Depending on our needs or tastes, we can: ```cpp quantity_point q5 = si::zeroth_degree_Celsius + delta(20.5); - quantity_point q6 = {delta(20.5), si::zeroth_degree_Celsius}; + quantity_point q6{delta(20.5), si::zeroth_degree_Celsius}; quantity_point q7{delta(20.5)}; quantity_point q8 = absolute(20.5); ``` @@ -487,7 +487,7 @@ choose from here. Depending on our needs or tastes, we can: ```cpp quantity_point q9 = si::zeroth_degree_Celsius + delta(20.5); - quantity_point q10 = {delta(20.5), si::zeroth_degree_Celsius}; + quantity_point q10{delta(20.5), si::zeroth_degree_Celsius}; quantity_point q11{delta(20.5)}; quantity_point q12 = absolute(20.5); ```