comparison scripts/general/postpad.m @ 10549:95c3e38098bf

Untabify .m scripts
author Rik <code@nomad.inbox5.com>
date Fri, 23 Apr 2010 11:28:50 -0700
parents eb63fbe60fab
children d1978e7364ad
comparison
equal deleted inserted replaced
10548:479536c5bb10 10549:95c3e38098bf
51 if (dim > nd) 51 if (dim > nd)
52 dim = 1; 52 dim = 1;
53 endif 53 endif
54 else 54 else
55 if (! (isscalar (dim) && dim == round (dim)) && dim > 0 && 55 if (! (isscalar (dim) && dim == round (dim)) && dim > 0 &&
56 dim < (nd + 1)) 56 dim < (nd + 1))
57 error ("postpad: dim must be an integer and valid dimension"); 57 error ("postpad: dim must be an integer and valid dimension");
58 endif 58 endif
59 endif 59 endif
60 60
61 if (! isscalar (l) || l < 0) 61 if (! isscalar (l) || l < 0)