From 1039332750b14073935d0a0a36fe4b3aeb07f4c8 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Mon, 30 Sep 2024 19:21:36 +0200 Subject: [PATCH] style: pre-commit whitespaces cleanup in ISQ articles --- docs/blog/posts/isq-part-1-introduction.md | 3 +-- docs/blog/posts/isq-part-2-problems-when-isq-is-not-used.md | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/blog/posts/isq-part-1-introduction.md b/docs/blog/posts/isq-part-1-introduction.md index a709ec08..bcc6d566 100644 --- a/docs/blog/posts/isq-part-1-introduction.md +++ b/docs/blog/posts/isq-part-1-introduction.md @@ -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: diff --git a/docs/blog/posts/isq-part-2-problems-when-isq-is-not-used.md b/docs/blog/posts/isq-part-2-problems-when-isq-is-not-used.md index f8328d0d..06ca46c9 100644 --- a/docs/blog/posts/isq-part-2-problems-when-isq-is-not-used.md +++ b/docs/blog/posts/isq-part-2-problems-when-isq-is-not-used.md @@ -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 auto avg_speed(QuantityOf auto distance, +QuantityOf auto avg_speed(QuantityOf auto distance, QuantityOf 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 auto avg_speed(QuantityOf auto distance, +QuantityOf auto avg_speed(QuantityOf auto distance, QuantityOf auto time) { return distance / time;