Macaulay2 Engine
Loading...
Searching...
No Matches

◆ rawResolutionGetFree()

const FreeModule * rawResolutionGetFree ( Computation * G,
int level )

Definition at line 563 of file groebner.cpp.

564{
565 try
566 {
568 ResolutionComputation *G = C->cast_to_ResolutionComputation();
569 if (G != nullptr) return G->get_free(level);
570 ERROR("expected resolution computation type");
571 return nullptr;
572 } catch (const exc::engine_error& e)
573 {
574 ERROR(e.what());
575 return nullptr;
576 }
577}
Base class for free resolution computation classes.
Definition comp-res.hpp:52
const int ERROR
Definition m2-mem.cpp:55
tbb::flow::graph G
void clear_emit_size()
Definition text-io.cpp:26

References Computation::cast_to_ResolutionComputation(), clear_emit_size(), ERROR, and G.