fix: storage_capacity definition fixed

This commit is contained in:
Mateusz Pusz
2022-12-27 12:50:47 +01:00
parent 12e48ea3c0
commit 05da8b6153
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ QUANTITY_SPEC(waiting_probability, dimensionless);
QUANTITY_SPEC(call_intensity, 1 / isq::duration);
inline constexpr auto calling_rate = call_intensity;
QUANTITY_SPEC(completed_call_intensity, call_intensity);
QUANTITY_SPEC(storage_capacity, dim_storage_capacity);
QUANTITY_SPEC(storage_capacity, dimensionless);
inline constexpr auto storage_size = storage_capacity;
QUANTITY_SPEC(equivalent_binary_storage_capacity, storage_capacity);
QUANTITY_SPEC(transfer_rate, storage_capacity / isq::duration);

View File

@@ -30,7 +30,7 @@ namespace units::iec80000 {
// clang-format off
inline constexpr struct erlang : named_unit<"E", traffic_intensity> {} erlang;
inline constexpr struct bit : named_unit<"bit", storage_capacity> {} bit;
inline constexpr struct bit : named_unit<"bit", one> {} bit;
inline constexpr struct octet : named_unit<"o", mag<8> * bit> {} octet;
inline constexpr struct byte : named_unit<"B", mag<8> * bit> {} byte;
inline constexpr struct baud : named_unit<"Bd", 1 / si::second> {} baud;