comparison 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
comparison
equal deleted inserted replaced
12661:15cea85c6afd 12662:2a027badd794
219 219
220 if (iscell (dnurbs2)) 220 if (iscell (dnurbs2))
221 dnurbs2 = [dnurbs2{:}]; 221 dnurbs2 = [dnurbs2{:}];
222 end 222 end
223 if (any (arrayfun(@(x) any(isnan(x.coefs(:)) | isinf(x.coefs(:))), dnurbs2))) 223 if (any (arrayfun(@(x) any(isnan(x.coefs(:)) | isinf(x.coefs(:))), dnurbs2)))
224 warning (['The structure for the second derivative contains Inf and/or NaN coefficients, ' ... 224 warning ('nrbderiv:SecondDerivative', ...
225 ['The structure for the second derivative contains Inf and/or NaN coefficients, ' ...
225 'probably due to low continuity at repeated knots. This should not affect the ' ... 226 'probably due to low continuity at repeated knots. This should not affect the ' ...
226 'computation of the second derivatives, except at those knots.']) 227 'computation of the second derivatives, except at those knots.'])
227 end 228 end
228 end 229 end
229 230