Macaulay2 » Documentation
Packages » CpMackeyFunctors :: assertLevel
next | previous | forward | backward | up | index | toc

assertLevel -- controls whether constructors check for well-definedness

Description

This global variable controls whether the makeCpMackeyFunctor and map(CpMackeyFunctor,CpMackeyFunctor,Matrix,Matrix) methods check whether the input data yields a well-defined object. If assertLevel is set to 0 or lower, then no checks are made, and the methods will return a Mackey functor or homomorphism (which may be malformed) regardless of the input data. If assertLevel is set to 1 or higher, then the methods will check whether the input data yields a well-defined Mackey functor or homomorphism, and if not, they will throw an error.

The default value is 1.

For the programmer

The object assertLevel is an integer.


The source of this document is in CpMackeyFunctors/Documentation/AssertLevelDoc.m2:11:0.