Skip to content

Commit 06a7abe

Browse files
committed
Fix typo
1 parent d2473d1 commit 06a7abe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/C_API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ int main(void)
330330
## ```primesieve_iterator.is_error```
331331
332332
For the ```primesieve_iterator```, you can check if the return value of ```primesieve_next_prime()```
333-
is ```PRIMESIEVE_ERROR``` to know if an error occured. However, ```primesieve_iterator``` also supports
333+
is ```PRIMESIEVE_ERROR``` to know if an error occurred. However, ```primesieve_iterator``` also supports
334334
a 2nd option for error handling: by default ```primesieve_iterator.is_error``` is initialized to 0 in
335335
```primesieve_init()```, if any error occurs ```primesieve_iterator.is_error``` is set to 1.
336336
This is useful to check after a computation that no error has occurred, this way you don't have to

0 commit comments

Comments
 (0)