Diff of /inst/@ss/__zero__.m [f1fdd7] .. [e25603]  Maximize  Restore

Switch to side-by-side view

--- a/inst/@ss/__zero__.m
+++ b/inst/@ss/__zero__.m
@@ -28,10 +28,8 @@
 
   if (isempty (sys.e))
     [zer, gain, rank, infz, kronr, kronl] = __sl_ab08nd__ (sys.a, sys.b, sys.c, sys.d, sys.scaled);
-    info = struct ("rank", rank, "infz", infz, "kronr", kronr, "kronl", kronl);
   else
-    [zer, rank] = __sl_ag08bd__ (sys.a, sys.e, sys.b, sys.c, sys.d, sys.scaled);
-    info = struct ("rank", rank);
+    [zer, rank, infz, kronr, kronl] = __sl_ag08bd__ (sys.a, sys.e, sys.b, sys.c, sys.d, sys.scaled);
     if (argc > 1 && issiso (sys))
       pol = pole (sys);
       gain = __sl_tg04bx__ (sys.a, sys.e, sys.b, sys.c, sys.d, \
@@ -40,5 +38,7 @@
       gain = [];
     endif
   endif
+  
+  info = struct ("rank", rank, "infz", infz, "kronr", kronr, "kronl", kronl);
 
 endfunction