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

◆ INTERNAL_ERROR()

void INTERNAL_ERROR ( const char * s,
... )

Definition at line 36 of file error.c.

37{
38 char buf[MAXERROR];
39 buf[0] = 0;
40 va_list ap;
41 va_start(ap, s);
42 vsprintf(buf, s, ap);
43 va_end(ap);
44 fprintf(stderr, "--internal error: %s\n", buf);
45 abort(); /* we should exit after an internal error, to avoid crashing */
46}
#define MAXERROR
Definition error.c:22
void size_t s
Definition m2-mem.cpp:271

References MAXERROR, and s.

Referenced by MatrixConstructor::append(), MatrixConstructor::compute_column_degree(), MatrixConstructor::compute_column_degrees(), PolyRingQuotient::invert(), rawNonTermOrderVariables(), MatrixConstructor::set_column_degree(), and wrapperFrobbyAlexanderDual().