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

◆ debug_out()

void GB_comp::debug_out ( s_pair * q) const
private

Definition at line 965 of file gb-homog2.cpp.

966{
967 if (q == nullptr) return;
968 buffer o;
969 o << "(" << q->compare_num << " ";
970 if (q->first != nullptr)
971 o << q->first->me;
972 else
973 o << ".";
974 o << " ";
975 if (q->second != nullptr)
976 o << q->second->me;
977 else
978 o << ".";
979 o << " ";
980 _M->elem_text_out(o, q->lcm);
981 o << ") ";
982 emit_wrapped(o.str());
983}
const Monoid * _M
Definition gb-homog2.hpp:70
char * str()
Definition buffer.hpp:72
int me
Definition spair.hpp:62
int * lcm
Definition spair.hpp:95
gb_elem * second
Definition spair.hpp:97
gb_elem * first
Definition spair.hpp:96
int compare_num
Definition spair.hpp:93
void emit_wrapped(const char *s)
Definition text-io.cpp:27

References _M, s_pair::compare_num, emit_wrapped(), s_pair::first, s_pair::lcm, gb_elem::me, s_pair::second, and buffer::str().

Referenced by s_pair_step().