From: <tho...@us...> - 2010-01-03 19:11:39
|
Revision: 6694 http://octave.svn.sourceforge.net/octave/?rev=6694&view=rev Author: thomas-weber Date: 2010-01-03 19:11:27 +0000 (Sun, 03 Jan 2010) Log Message: ----------- Replace deprecated 'spfind' Modified Paths: -------------- trunk/octave-forge/main/image/inst/qtgetblk.m trunk/octave-forge/main/image/inst/qtsetblk.m Modified: trunk/octave-forge/main/image/inst/qtgetblk.m =================================================================== --- trunk/octave-forge/main/image/inst/qtgetblk.m 2010-01-03 18:26:38 UTC (rev 6693) +++ trunk/octave-forge/main/image/inst/qtgetblk.m 2010-01-03 19:11:27 UTC (rev 6694) @@ -47,7 +47,7 @@ endif ## get blocks - [i,j,v]=spfind(S); + [i,j,v]=find(S); ## filter the ones which match dim idx=find(v==dim); Modified: trunk/octave-forge/main/image/inst/qtsetblk.m =================================================================== --- trunk/octave-forge/main/image/inst/qtsetblk.m 2010-01-03 18:26:38 UTC (rev 6693) +++ trunk/octave-forge/main/image/inst/qtsetblk.m 2010-01-03 19:11:27 UTC (rev 6694) @@ -33,7 +33,7 @@ endif ## get blocks - [ii,ji,v]=spfind(S); + [ii,ji,v]=find(S); ## filter the ones which match dim idx=find(v==dim); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |