--- a/inst/@galois/diag.m
+++ b/inst/@galois/diag.m
@@ -38,7 +38,7 @@
 
 function varargout = diag (varargin)
 
-  varargout = cell (1, max(1, nargout));
+  varargout = cell (1, max (1, nargout));
   [varargout{:}] = gdiag (varargin{:});
 
 endfunction