Diff of /src/cyclgen.cc [cc3368] .. [ec7c13]  Maximize  Restore

  Switch to side-by-side view

--- a/src/cyclgen.cc
+++ b/src/cyclgen.cc
@@ -195,25 +195,27 @@
   k = n - mm;
 
   if (nargin > 2)
-    if (args(2).is_string ())
-      {
-        std::string s_arg = args(2).string_value ();
-
-        if (s_arg == "system")
-          system = true;
-        else if (s_arg == "nosys")
-          system = false;
-        else
-          {
-            error ("cyclgen: illegal argument");
-            return retval;
-          }
-      }
-    else
-      {
-        error ("cyclgen: illegal argument");
-        return retval;
-      }
+    {
+      if (args(2).is_string ())
+        {
+          std::string s_arg = args(2).string_value ();
+
+          if (s_arg == "system")
+            system = true;
+          else if (s_arg == "nosys")
+            system = false;
+          else
+            {
+              error ("cyclgen: illegal argument");
+              return retval;
+            }
+        }
+      else
+        {
+          error ("cyclgen: illegal argument");
+          return retval;
+        }
+    }
 
   // Haven't implemented this since I'm not sure what matlab wants here
   if (!system)