Mercurial > forge
changeset 12662:2a027badd794 octave-forge
Added a message id in the warning
author | rafavzqz |
---|---|
date | Tue, 07 Jul 2015 13:52:48 +0000 |
parents | 15cea85c6afd |
children | 7c7960da6a76 |
files | extra/nurbs/inst/nrbderiv.m |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/extra/nurbs/inst/nrbderiv.m Tue Jul 07 09:04:19 2015 +0000 +++ b/extra/nurbs/inst/nrbderiv.m Tue Jul 07 13:52:48 2015 +0000 @@ -221,7 +221,8 @@ dnurbs2 = [dnurbs2{:}]; end if (any (arrayfun(@(x) any(isnan(x.coefs(:)) | isinf(x.coefs(:))), dnurbs2))) - warning (['The structure for the second derivative contains Inf and/or NaN coefficients, ' ... + warning ('nrbderiv:SecondDerivative', ... + ['The structure for the second derivative contains Inf and/or NaN coefficients, ' ... 'probably due to low continuity at repeated knots. This should not affect the ' ... 'computation of the second derivatives, except at those knots.']) end