diff --git a/example/avg_speed.cpp b/example/avg_speed.cpp index f61ce4fd..e3f5b220 100644 --- a/example/avg_speed.cpp +++ b/example/avg_speed.cpp @@ -45,7 +45,7 @@ constexpr quantity fixed_double_si_avg_speed(quantity auto avg_speed(QuantityOf auto d, QuantityOf auto t) { - return quantity_cast(d / t); + return d / t; } template D, QuantityOf T, QuantityOf V>