This commit is contained in:
Florian Stecker
2017-03-20 10:46:23 +01:00
parent 161d850294
commit b823aa7b0b
4 changed files with 22 additions and 20 deletions

View File

@@ -163,9 +163,8 @@ long enumerate_balanced_thickenings(doublequotient_t *dq, enumeration_callback c
if(dq->cosets[i].opposite->min->id == dq->cosets[i].min->id)
return 0;
// we can only handle bitvectors up to 64*BV_QWORD_RANK bits, but we only store half of the weyl group
if(info.size > 128*BV_QWORD_RANK)
return -1;
// we can only handle bitvectors up to BV_BLOCKSIZE*BV_RANK bits, but we only store half of the weyl group
ERROR(info.size > 2*BV_BLOCKSIZE*BV_RANK, "We can handle at most %d cosets. Increase BV_RANK if more is needed.\n", 2*BV_BLOCKSIZE*BV_RANK);
generate_principal_ideals(dq, info.principal_pos, info.principal_neg, info.principal_is_slim);