]> git.donarmstrong.com Git - mothur.git/blobdiff - bellerophon.cpp
working on windows paralellization, added trimOligos class to be used by trim.flows...
[mothur.git] / bellerophon.cpp
index 207fa51583b0835810ffaf1e52db88e95252346b..5a0a444b76146f94ada0daccf025c6d6d327d5d0 100644 (file)
@@ -246,7 +246,7 @@ int Bellerophon::getChimeras() {
                numSeqsPerProcessor = iters / processors;
                
                //each process hits this only once
-               unsigned long int startPos = pid * numSeqsPerProcessor;
+               unsigned long long startPos = pid * numSeqsPerProcessor;
                if(pid == processors - 1){
                                numSeqsPerProcessor = iters - pid * numSeqsPerProcessor;
                }
@@ -326,7 +326,7 @@ int Bellerophon::getChimeras() {
                                int numSeqsPerProcessor = iters / processors;
                                
                                for (int i = 0; i < processors; i++) {
-                                       unsigned long int startPos = i * numSeqsPerProcessor;
+                                       unsigned long long startPos = i * numSeqsPerProcessor;
                                        if(i == processors - 1){
                                                numSeqsPerProcessor = iters - i * numSeqsPerProcessor;
                                        }