changeset 74:f6cedfec9ffb

(none)
author idamnjanovic
date Wed, 23 Mar 2011 14:36:40 +0000
parents fb32456fba2c
children d433ec689078
files solvers/SMALL_chol.m
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/solvers/SMALL_chol.m	Wed Mar 23 14:36:25 2011 +0000
+++ b/solvers/SMALL_chol.m	Wed Mar 23 14:36:40 2011 +0000
@@ -37,8 +37,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