1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 01:20:37 +00:00

fixed error on some compilers

This commit is contained in:
Zeno Rogue 2017-11-07 13:35:59 +01:00
parent 0ce82e23bd
commit d467b060bd

View File

@ -66,7 +66,7 @@ void nextPrime(fgeomextra& ex) {
fp.Prime = nextprime; fp.Prime = nextprime;
if(fp.solve() == 0) { if(fp.solve() == 0) {
fp.build(); fp.build();
ex.primes.emplace_back(primeinfo{nextprime, size(fp.matrices) / S7, fp.wsquare}); ex.primes.emplace_back(primeinfo{nextprime, size(fp.matrices) / S7, (bool) fp.wsquare});
break; break;
} }
nextprime++; nextprime++;