From: <par...@us...> - 2012-08-17 10:51:57
|
Revision: 10882 http://octave.svn.sourceforge.net/octave/?rev=10882&view=rev Author: paramaniac Date: 2012-08-17 10:51:51 +0000 (Fri, 17 Aug 2012) Log Message: ----------- control: mute warning in test Modified Paths: -------------- trunk/octave-forge/main/control/inst/@iddata/fft.m trunk/octave-forge/main/control/inst/__iddata_dim__.m Modified: trunk/octave-forge/main/control/inst/@iddata/fft.m =================================================================== --- trunk/octave-forge/main/control/inst/@iddata/fft.m 2012-08-16 21:00:23 UTC (rev 10881) +++ trunk/octave-forge/main/control/inst/@iddata/fft.m 2012-08-17 10:51:51 UTC (rev 10882) @@ -88,7 +88,10 @@ %!shared DATD, Y, U %! Y = 1:10; %! U = 20:-2:1; +%! W = warning ("query", "iddata:transpose"); +%! warning ("off", W.identifier); %! DAT = iddata (Y, U); %! DATD = fft (DAT); +%! warning (W.identifier, W.state); %!assert (DATD.y{1}, Y, 1e-10); %!assert (DATD.u{1}, U, 1e-10); Modified: trunk/octave-forge/main/control/inst/__iddata_dim__.m =================================================================== --- trunk/octave-forge/main/control/inst/__iddata_dim__.m 2012-08-16 21:00:23 UTC (rev 10881) +++ trunk/octave-forge/main/control/inst/__iddata_dim__.m 2012-08-17 10:51:51 UTC (rev 10882) @@ -43,11 +43,11 @@ endif if (ly < p) - warning ("iddata: more outputs than samples - matrice 'y' should probably be transposed"); + warning ("iddata:transpose", "iddata: more outputs than samples - matrice 'y' should probably be transposed"); endif if (lu < m) - warning ("iddata: more inputs than samples - matrice 'u' should probably be transposed"); + warning ("iddata:transpose", "iddata: more inputs than samples - matrice 'u' should probably be transposed"); endif endfunction This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |