Mercurial > hg > octave-nkf
diff examples/@polynomial/set.m @ 9284:567e3e4ab74d
fix up examples/@polynomial
author | Robert T. Short <octave@phaselockedsystems.com> |
---|---|
date | Sun, 31 May 2009 21:11:31 -0700 |
parents | dba0037e6602 |
children |
line wrap: on
line diff
--- a/examples/@polynomial/set.m +++ b/examples/@polynomial/set.m @@ -9,12 +9,12 @@ varargin(1:2) = []; if (ischar (prop) && strcmp (prop, "poly")) if (isvector (val) && isreal (val)) - s.poly = val(:)'; + s.poly = val(:).'; else - error ("set: expecting the value to be a real vector"); + error ("set: expecting the value to be a real vector"); endif else error ("set: invalid property of polynomial class"); endif endwhile -endfunction \ No newline at end of file +endfunction