getcurrfp returns fp_invalid for other quotient spaces

This commit is contained in:
Zeno Rogue 2020-01-18 17:16:16 +01:00
parent c5f1eb27c0
commit fbd978598e
1 changed files with 1 additions and 1 deletions

View File

@ -1111,7 +1111,7 @@ EX struct fpattern& getcurrfp() {
fp.Prime = 7; fp.force_hash = 0x9FDE7B38u; fp.solve();
return fp;
}
if(WDIM == 3) {
if(WDIM == 3 && !quotient) {
static fpattern fp(0);
if(fp.Prime) return fp;
for(int p=2; p<8; p++) { fp.Prime = p; if(!fp.solve()) break; }