Skip to content

Commit

Permalink
style: pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Oct 30, 2024
1 parent f0b941d commit 856e42e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/users_guide/framework_basics/quantity_arithmetics.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static_assert(isq::height(3 * m) * 0.5 == isq::height(1.5 * m));
Unless we use a compound assignment operator, in which case we always have to result with
the type of the left-hand-side argument. This, together with the fact that this library
tries to prevent truncation of a quantity value means, that the following does not compile:

```cpp
quantity q = isq::height(3 * m) *= 0.5; // Compile-time error
```
Expand Down

0 comments on commit 856e42e

Please sign in to comment.