style: whitespaces fixed to make pre-commit happy

This commit is contained in:
Mateusz Pusz
2024-03-23 23:55:32 +09:00
parent a18b4e6c59
commit 89e61169f8

View File

@@ -174,7 +174,7 @@ inline constexpr struct origin : absolute_point_origin<origin, isq::distance> {}
quantity_point<si::metre, origin> qp1 = origin + 100 * m;
quantity_point<si::metre, origin> qp2 = 120 * m + origin;
// assert(qp1.quantity_from_zero() == 100 * m); // Compile-time error
// assert(qp1.quantity_from_zero() == 100 * m); // Compile-time error
// assert(qp2.quantity_from_zero() == 120 * m); // Compile-time error
assert(qp1.quantity_from(origin) == 100 * m);
assert(qp2.quantity_from(origin) == 120 * m);