Skip to content

Commit 9e76f1e

Browse files
committed
Fix text in formula
1 parent 4cd6336 commit 9e76f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/algebra/euclid-algorithm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The algorithm was first described in Euclid's "Elements" (circa 300 BC), but it
1818

1919
The algorithm is extremely simple:
2020

21-
$$gcd(a, b) = \begin{cases}a,&if $b = 0$\cr gcd(b, a\mod b),&otherwise\end{cases}$$
21+
$$gcd(a, b) = \begin{cases}a,&\text{if }b = 0 \\\\ gcd(b, a\mod b),&\text{otherwise}\end{cases}$$
2222

2323
## Implementation
2424

0 commit comments

Comments
 (0)