diff options
| author | Travis Oliphant <oliphant@enthought.com> | 2006-10-19 00:13:48 +0000 |
|---|---|---|
| committer | Travis Oliphant <oliphant@enthought.com> | 2006-10-19 00:13:48 +0000 |
| commit | 448f3851e99f4667faaae813bd0cd6df2b666c29 (patch) | |
| tree | fae63622aef344f337d2e7d5640ab3e30802314b /numpy/core/src/umathmodule.c.src | |
| parent | 42ec0613463dd5a1e583370d5f7fd8fddbedced8 (diff) | |
| download | numpy-448f3851e99f4667faaae813bd0cd6df2b666c29.tar.gz | |
Add print and log facilities to error handling and change the default error mode to divide='print', over='print', invalid='print', and under='ignore'
Diffstat (limited to 'numpy/core/src/umathmodule.c.src')
| -rw-r--r-- | numpy/core/src/umathmodule.c.src | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/core/src/umathmodule.c.src b/numpy/core/src/umathmodule.c.src index fa7cd678b..ba1521aeb 100644 --- a/numpy/core/src/umathmodule.c.src +++ b/numpy/core/src/umathmodule.c.src @@ -2181,7 +2181,10 @@ PyMODINIT_FUNC initumath(void) { ADDCONST(ERR_WARN); ADDCONST(ERR_CALL); ADDCONST(ERR_RAISE); + ADDCONST(ERR_PRINT); + ADDCONST(ERR_LOG); ADDCONST(ERR_DEFAULT); + ADDCONST(ERR_DEFAULT2); ADDCONST(SHIFT_DIVIDEBYZERO); ADDCONST(SHIFT_OVERFLOW); |
