Diff of /frames/frameaccel.m [76dce7] .. [89ea83]  Maximize  Restore

Switch to side-by-side view

--- a/frames/frameaccel.m
+++ b/frames/frameaccel.m
@@ -58,7 +58,6 @@
 % From this point and on, we are sure that F.g exists
 
 if ~isempty(F.g)
-    info = [];
     switch(F.type)
       case 'gen'
         F.isfac=~issparse(F.g);  
@@ -71,7 +70,6 @@
         [g, info] = wilwin(F.g,F.M,L,upper(mfilename));
         F = frame(F.type,g,F.origargs{2:end});
         F.g_info = info;
-        F.isfac=1;
       case {'filterbank','ufilterbank'}
         [g, info]  = filterbankwin(F.g,F.a,L);
         kv = arg_pfilt();
@@ -89,19 +87,8 @@
       case {'nsdgt','unsdgt','nsdgtreal','unsdgtreal'}
         [F.g,F.g_info]  = nsgabwin(F.g,F.a,F.M);
         F.isfac=F.g_info.isfac;
-      case 'fwt'
-        F.winLen = (F.g.a(1)^F.J-1)/(F.g.a(1)-1)*(numel(F.g.g{1}.h)-1)+1; 
-        F.isfac=1;
     end;
-  
-   if isfield(F,'g_info') && isfield(F.g_info,'isfir') && F.g_info.isfir
-      if isfield(F.g_info,'longestfilter')
-         F.winLen = F.g_info.longestfilter;
-      else
-         F.winLen = max(F.g_info.gl);
-      end
-   end
 end;
 
 F.L=L;
-%F.winlen
+