Skip to content

Commit d2473d1

Browse files
committed
Fix typo
1 parent ad57817 commit d2473d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/CPP_API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ int main()
179179

180180
Before using ```primesieve::iterator::prev_prime()``` you must change the start number
181181
either in the constructor or using the ```jump_to()``` method (because the start number is
182-
initialized to 0 be default).
182+
initialized to 0 by default).
183183

184184
* Please note that the first ```prev_prime()``` invocation returns the first prime ≤ start number.
185185
If want to generate primes < start number you need to use e.g. ```jump_to(start-1)```.

doc/C_API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ int main(void)
162162
## ```primesieve_prev_prime()```
163163
164164
Before using ```primesieve_prev_prime()``` you must first change the start number using the
165-
```primesieve_jump_to()``` function (because the start number is initialized to 0 be default).
165+
```primesieve_jump_to()``` function (because the start number is initialized to 0 by default).
166166
167167
* Please note that the first ```primesieve_prev_prime()``` call returns the first prime ≤ start
168168
number. If want to generate primes < start number you need to use e.g. ```primesieve_jump_to(iter, start-1, stop)```.

0 commit comments

Comments
 (0)