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

◆ IM2_Computation_set_stop()

Computation * IM2_Computation_set_stop ( Computation * G,
M2_bool always_stop,
M2_arrayint degree_limit,
int basis_element_limit,
int syzygy_limit,
int pair_limit,
int codim_limit,
int subring_limit,
M2_bool just_min_gens,
M2_arrayint length_limit )

Definition at line 231 of file groebner.cpp.

244{
245 try
246 {
248 return G->set_stop_conditions(always_stop,
249 degree_limit,
250 basis_element_limit,
251 syzygy_limit,
252 pair_limit,
253 codim_limit,
254 subring_limit,
255 just_min_gens,
256 length_limit);
257 } catch (const exc::engine_error& e)
258 {
259 ERROR(e.what());
260 return nullptr;
261 }
262}
const int ERROR
Definition m2-mem.cpp:55
tbb::flow::graph G
void clear_emit_size()
Definition text-io.cpp:26

References clear_emit_size(), ERROR, and G.