Mercurial > hg > octave-lyh
diff src/DLD-FUNCTIONS/__pchip_deriv__.cc @ 11553:01f703952eff
Improve docstrings for functions in DLD-FUNCTIONS directory.
Use same variable names in error() strings and in documentation.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 16 Jan 2011 22:13:23 -0800 |
parents | fd0a3ac60b0e |
children | 12df7854fa7c |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/__pchip_deriv__.cc +++ b/src/DLD-FUNCTIONS/__pchip_deriv__.cc @@ -74,7 +74,7 @@ if (nx != (rows ? nyc : nyr)) { - error ("__pchip_deriv__: dimension mismatch"); + error ("__pchip_deriv__: X and Y dimension mismatch"); return retval; } @@ -96,7 +96,7 @@ if (ierr < 0) { - error ("PCHIM error: %i\n", ierr); + error ("PCHIM: error: %i\n", ierr); return retval; } } @@ -114,7 +114,7 @@ if (nx != (rows ? nyc : nyr)) { - error ("__pchip_deriv__: dimension mismatch"); + error ("__pchip_deriv__: X and Y dimension mismatch"); return retval; } @@ -136,7 +136,7 @@ if (ierr < 0) { - error ("DPCHIM error: %i\n", ierr); + error ("DPCHIM: error: %i\n", ierr); return retval; } }