M2_arrayint gbres_comp::get_betti(int type) const // Only type = 0 (minimal) is supported by this type. // Should we do the other types as well? // type is documented under rawResolutionBetti, in engine.h { if (type == 0) return betti_minimal(); ERROR("received unsupported betti type for this algorithm"); return 0; }
M2_arrayint gbres_comp::get_betti(int type) const // Only type = 0 (minimal) is supported by this type. // Should we do the other types as well? // type is documented under rawResolutionBetti, in engine.h { if (type == 0) return betti_minimal(); if (type == 4) { ERROR("cannot use Minimize=>true unless res(...,FastNonminimal=>true) was used"); return 0; } ERROR("received unsupported betti type for this algorithm"); return 0; }