Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /frames/framelengthcoef.m [6bc853] .. [8d7bed] Maximize Restore

  Switch to side-by-side view

--- a/frames/framelengthcoef.m
+++ b/frames/framelengthcoef.m
@@ -17,6 +17,8 @@
   error('%s: Ncoef must be a scalar.',upper(mfilename));
 end;
 
+L = F.lengthcoef(Ncoef);
+assert(abs(L-round(L))<1e-3,'%s: There is a bug. L=%d should be an integer.',upper(mfilename),L);
 L=round(F.lengthcoef(Ncoef));
     
 % Verify the computed length