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:
parent
0ce82e23bd
commit
d467b060bd
@ -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++;
|
||||||
|
Loading…
Reference in New Issue
Block a user