From 69e6ba7a646f3d3891d351fea2618eb7d42e3ec7 Mon Sep 17 00:00:00 2001 From: "fnetX (aka fralix)" Date: Sun, 24 Jan 2021 09:37:00 +0100 Subject: [PATCH] math: small typo in math.fractions (#8298) --- vlib/math/fractions/fraction.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/math/fractions/fraction.v b/vlib/math/fractions/fraction.v index ebac88403e..9d6d290c8f 100644 --- a/vlib/math/fractions/fraction.v +++ b/vlib/math/fractions/fraction.v @@ -129,7 +129,7 @@ pub fn (f1 Fraction) *(f2 Fraction) Fraction { // Fraction divide using operator overloading pub fn (f1 Fraction) /(f2 Fraction) Fraction { if f2.n == 0 { - panic('Cannot divive by zero') + panic('Cannot divide by zero') } // If the second fraction is negative, it will // mess up the sign. We need positive denominator