changeset 385:f6310b257d5d

Replace deprecated 'spfind'
author thomas-weber
date Sun, 03 Jan 2010 19:11:27 +0000
parents 41cf31d56a08
children 4600e25d9d42
files inst/qtgetblk.m inst/qtsetblk.m
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/inst/qtgetblk.m
+++ b/inst/qtgetblk.m
@@ -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);
--- a/inst/qtsetblk.m
+++ b/inst/qtsetblk.m
@@ -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);