changeset 73:fb32456fba2c

(none)
author idamnjanovic
date Wed, 23 Mar 2011 14:36:25 +0000
parents dd969a5f9447
children f6cedfec9ffb
files solvers/SMALL_cgp.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/solvers/SMALL_cgp.m	Wed Mar 16 16:39:10 2011 +0000
+++ b/solvers/SMALL_cgp.m	Wed Mar 23 14:36:25 2011 +0000
@@ -36,8 +36,8 @@
     try
         DictT=varargin{1};
         if isa(DictT,'function_handle'); 
-                D=@(z)Dict(z,1); 
-                Dt=@(z)Dict(z,2);
+                D=Dict; 
+                Dt=DictT;
         else
                 error('If Dictionary is a function handle,Transpose Dictionary also needs to be a function handle. ');
         end