diff scripts/polynomial/conv.m @ 1337:52a3f38cbfeb

[project @ 1995-08-25 02:00:18 by jwe]
author jwe
date Fri, 25 Aug 1995 02:16:01 +0000
parents 611d403c7f3d
children 5d29638dd524
line wrap: on
line diff
--- a/scripts/polynomial/conv.m
+++ b/scripts/polynomial/conv.m
@@ -56,14 +56,14 @@
   # Use the shortest vector as the coefficent vector to filter.
   if (la < lb)
     if (ly > lb)
-      x = [b, zeros (1, ly - lb)];
+      x = [b, (zeros (1, ly - lb))];
     else
       x = b;
     endif
     y = filter (a, 1, x);
   else
     if(ly > la)
-      x = [a, zeros (1, ly - la)];
+      x = [a, (zeros (1, ly - la))];
     else
       x = a;
     endif