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

◆ stop_conditions_ok()

bool res_comp::stop_conditions_ok ( )
virtual

Implements ResolutionComputation.

Definition at line 879 of file res-a1.cpp.

880{
881 if (stop_.length_limit != nullptr && stop_.length_limit->len > 0)
882 {
884 {
885 ERROR("resolution: cannot increase maximum level");
886 return false;
887 }
888 else
889 length_limit = stop_.length_limit->array[0];
890 }
891
892 return true;
893}
StopConditions stop_
Definition comp.hpp:75
int length_limit
Definition res-a1.hpp:99
const int ERROR
Definition m2-mem.cpp:55

References ERROR, length_limit, and Computation::stop_.