style: pre-commit whitespaces cleanup in ISQ articles

This commit is contained in:
Mateusz Pusz
2024-09-30 19:21:36 +02:00
parent c9c22ba08a
commit 1039332750
2 changed files with 3 additions and 4 deletions

View File

@@ -23,8 +23,7 @@ In this series, we will describe:
From our experience, many people, including experts in the domain, often tend to name things
differently, or sometimes they use the same term while having a different meaning in mind.
This is why it is essential to stick to one well-defined glossary of terms
for metrology.
This is why it is essential to stick to one well-defined glossary of terms for metrology.
The **mp-units** project consistently uses the official metrology vocabulary defined by the ISO
and BIPM:

View File

@@ -97,7 +97,7 @@ To prevent the above issues, most of the libraries on the market introduce dimen
Thanks to that, we could solve the first issue of the previous chapter with:
```cpp
QuantityOf<dim_speed> auto avg_speed(QuantityOf<dim_length> auto distance,
QuantityOf<dim_speed> auto avg_speed(QuantityOf<dim_length> auto distance,
QuantityOf<dim_time> auto time)
{
return distance / time;
@@ -117,7 +117,7 @@ vector product of those. For example, a quantity of _speed_ has a dimension of $
So, to be physically correct, the above code should be rewritten as:
```cpp
QuantityOf<dim_length / dim_time> auto avg_speed(QuantityOf<dim_length> auto distance,
QuantityOf<dim_length / dim_time> auto avg_speed(QuantityOf<dim_length> auto distance,
QuantityOf<dim_time> auto time)
{
return distance / time;