refactor: all examples refactored to use a simplified quantity creation

This commit is contained in:
Mateusz Pusz committed 2023-02-08 21:47:48 -08:00
1 parent 26ed241662
commit 859bc20fdc
18 files changed
+150 -162

No files matched your search

@@ -105,7 +105,7 @@ struct glider {
std::array<polar_point, 1> polar;
};
constexpr mp_units::WeakQuantityOf<mp_units::dimensionless> auto glide_ratio(const glider::polar_point& polar)
constexpr mp_units::QuantityOf<mp_units::dimensionless> auto glide_ratio(const glider::polar_point& polar)
{
return polar.v / -polar.climb;
}