mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-26 22:04:02 +00:00
fixed error on some compilers
This commit is contained in:
@@ -66,7 +66,7 @@ void nextPrime(fgeomextra& ex) {
|
||||
fp.Prime = nextprime;
|
||||
if(fp.solve() == 0) {
|
||||
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;
|
||||
}
|
||||
nextprime++;
|
||||
|
Reference in New Issue
Block a user