diff options
Diffstat (limited to 'examples/goldbach.csk')
| -rw-r--r-- | examples/goldbach.csk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/goldbach.csk b/examples/goldbach.csk index 080b8c1..c4fc40b 100644 --- a/examples/goldbach.csk +++ b/examples/goldbach.csk @@ -68,7 +68,7 @@ main = fun () { for n int = 4, n <= ceiling, n = n + 2 { var p int = goldbach(n) - if goldbach < 0 { + if p < 0 { printf("counter-example found at %ld!\n", n) println("goldbach conjecture disproven!") exit(1) |
