Mercurial > forge
diff extra/nurbs/inst/nrbderiv.m @ 12662:2a027badd794 octave-forge
Added a message id in the warning
author | rafavzqz |
---|---|
date | Tue, 07 Jul 2015 13:52:48 +0000 |
parents | b3a8fa6de43d |
children |
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