diff --git a/src/include/units/unit.h b/src/include/units/unit.h index 51e04992..fdccda64 100644 --- a/src/include/units/unit.h +++ b/src/include/units/unit.h @@ -28,11 +28,11 @@ namespace units { template + requires (R::num > 0) struct unit { using base_type = unit; using dimension = D; using ratio = R; - static_assert(ratio::num > 0, "ratio must be positive"); }; // is_unit