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

◆ stop_conditions_ok()

bool gbres_comp::stop_conditions_ok ( )
protectedvirtual

Implements ResolutionComputation.

Definition at line 181 of file res-a2.cpp.

182{
183 if (stop_.length_limit != nullptr && stop_.length_limit->len > 0)
184 {
185 ERROR("cannot change length of resolution using this algorithm");
186 return false;
187 }
188 return true;
189}
StopConditions stop_
Definition comp.hpp:75
const int ERROR
Definition m2-mem.cpp:55

References ERROR, and Computation::stop_.