Mercurial > octave-nkf
changeset 19814:fc789d4e362e
don't suppress stack trace in error message from __pchip_deriv__
* __pchip_deriv__.cc (F__pchip_deriv__): Don't suppress stack trace
for errors about calls to PCHIM and DPCHIM.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 20 Feb 2015 01:56:40 -0500 |
parents | 166051951878 |
children | 8bc45a00c8d6 |
files | libinterp/corefcn/__pchip_deriv__.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/__pchip_deriv__.cc Fri Feb 20 01:54:11 2015 -0500 +++ b/libinterp/corefcn/__pchip_deriv__.cc Fri Feb 20 01:56:40 2015 -0500 @@ -103,7 +103,7 @@ if (ierr < 0) { - error ("PCHIM: error: %i\n", ierr); + error ("__pchip_deriv__: PCHIM failed with ierr = %i", ierr); return retval; } } @@ -150,7 +150,7 @@ if (ierr < 0) { - error ("DPCHIM: error: %i\n", ierr); + error ("__pchip_deriv__: DPCHIM failed with ierr = %i", ierr); return retval; } }