Fixed the file issue...

but the export issue still remains -_- I hate seg faults.
This commit is contained in:
Nicolás A. Ortega 2016-12-27 21:47:16 +01:00
parent a695cce709
commit f2eb3e869e
No known key found for this signature in database
GPG Key ID: 614272579C2070D1

View File

@ -132,7 +132,11 @@ int main(int argc, char *argv[]) {
exitCode = 1; exitCode = 1;
goto releaseMemory; goto releaseMemory;
} }
mpz_set(num, primes.list[primes.end]); /**
* Yes, I realize there's a -1 here, I don't know why but it won't
* work if it's not there, so don't change it unless necessary.
*/
mpz_set(num, primes.list[primes.end-1]);
} }
if(efile != NULL) { if(efile != NULL) {