summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorPaul Jungeblut <s_jungeb@i08pc57.atis-stud.uni-karlsruhe.de>2014-11-22 11:47:17 +0100
committerPaul Jungeblut <s_jungeb@i08pc57.atis-stud.uni-karlsruhe.de>2014-11-22 11:47:17 +0100
commit2ce84beba8d7e2b092720af9c6689b42981c693c (patch)
treecd1bd5e6f9023c840926c62a0b75148a6e9e00ba /math
parentca740ed7caeca4deb09a2fc7912f599555442e15 (diff)
parent284f0798319fc1d945394d2f802e798356d0141d (diff)
Merge branch 'master' of https://github.com/pjungeblut/ChaosKITs
Diffstat (limited to 'math')
-rw-r--r--math/primeSieve.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/primeSieve.cpp b/math/primeSieve.cpp
index 82a4cfd..4c82bbe 100644
--- a/math/primeSieve.cpp
+++ b/math/primeSieve.cpp
@@ -7,7 +7,7 @@ typedef unsigned long long ll;
vector<int> primeSieve(ll n) {
vector<int> primes;
- vector<bool> isPrime(n,true);
+ vector<int> isPrime(n,true);
for(ll i = 2; i < n; i+=2) {
if(isPrime[i]) {
primes.push_back(i);