diff --git a/vlib/math/fractions/fraction.v b/vlib/math/fractions/fraction.v index d417f95a18..1f18ea7a63 100644 --- a/vlib/math/fractions/fraction.v +++ b/vlib/math/fractions/fraction.v @@ -14,7 +14,7 @@ import math.bits // not be reduced automatically. // 2. d cannot be set to zero. The factory function will panic. // 3. If provided d is negative, it will be made positive. n will change as well. -struct Fraction { +pub struct Fraction { pub: n i64 d i64