File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ int main(void)
330
330
## ```primesieve_iterator.is_error```
331
331
332
332
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
334
334
a 2nd option for error handling: by default ```primesieve_iterator.is_error``` is initialized to 0 in
335
335
```primesieve_init()```, if any error occurs ```primesieve_iterator.is_error``` is set to 1.
336
336
This is useful to check after a computation that no error has occurred, this way you don't have to
You can’t perform that action at this time.
0 commit comments