diff scripts/image/brighten.m @ 8507:cadc73247d65

style fixes
author John W. Eaton <jwe@octave.org>
date Tue, 13 Jan 2009 14:08:36 -0500
parents a1dbe9d80eee
children e07e93c04080
line wrap: on
line diff
--- a/scripts/image/brighten.m	Tue Jan 13 11:56:00 2009 -0500
+++ b/scripts/image/brighten.m	Tue Jan 13 14:08:36 2009 -0500
@@ -44,14 +44,14 @@
     if (ishandle (m))
       h = m;
       m = get (h, "colormap");
-    elseif ((!is_matrix (m)) || (size (m, 2) != 3))
+    elseif (! is_matrix (m) || size (m, 2) != 3)
       error ("First argument must be a matrix of size nx3 or a handle.");
     endif
   else
     print_usage ();
   endif
 
-  if ( (!isscalar (beta)) || (beta <= -1) || (beta >= 1) )
+  if (! isscalar (beta) || beta <= -1 || beta >= 1)
     error ("brighten(...,beta) beta must be a scalar in the range (-1,1).");
   endif