Skip to content

Commit 85eabd6

Browse files
authored
Clarify debugging example (#53)
1 parent 3b97afa commit 85eabd6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pages/writing.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,8 @@ More generally, the startup file allows you to define your own favorite helper f
329329

330330
### Logging
331331

332-
Assume you want to debug the following function:
332+
Assume you want to debug the following function, which is supposed to compute the
333+
sum of [proper divisors](https://mathworld.wolfram.com/ProperDivisor.html) of $n$:
333334
```julia
334335
function sum_of_divisors(n)
335336
divisors = filter(x -> n % x == 0, 1:n)

0 commit comments

Comments
 (0)