mirror of
https://github.com/mpusz/mp-units.git
synced 2026-04-08 16:01:51 +02:00
feat: dimensionless quantities with a unit one are not special anymore
This commit is contained in:
@@ -121,7 +121,7 @@ int main()
|
||||
|
||||
const QuantityOf<isq::mass_change_rate> auto input_flow_rate = measured_mass / fill_time;
|
||||
const QuantityOf<isq::speed> auto float_rise_rate = fill_level / fill_time;
|
||||
const QuantityOf<isq::time> auto fill_time_left = (height / fill_level - 1) * fill_time;
|
||||
const QuantityOf<isq::time> auto fill_time_left = (height / fill_level - 1 * one) * fill_time;
|
||||
|
||||
const auto fill_ratio = fill_level / height;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user