Mercurial > forge
changeset 8668:49a585222db3 octave-forge
Also for 1D knot vectors
author | rafavzqz |
---|---|
date | Tue, 25 Oct 2011 13:07:44 +0000 |
parents | ad8fbb590549 |
children | 26c66bcfba3c |
files | extra/nurbs/inst/kntuniform.m |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/extra/nurbs/inst/kntuniform.m Mon Oct 24 20:33:19 2011 +0000 +++ b/extra/nurbs/inst/kntuniform.m Tue Oct 25 13:07:44 2011 +0000 @@ -14,6 +14,7 @@ % zeta: breaks = knots without repetitions % % Copyright (C) 2009, 2010 Carlo de Falco +% Copyright (C) 2011 Rafael Vazquez % % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by @@ -43,5 +44,9 @@ error ('kntuniform: regularity requested is too high') end end + if (numel(num) == 1) + csi = csi{1}; + zeta = zeta{1}; + end end end