# HG changeset patch # User idamnjanovic # Date 1270119534 0 # Node ID bcc748594b613d100667d9bbb3ff8094cd8cddc7 # Parent ec86452113edfe72173f9ef8fb972411d28181bd diff -r ec86452113ed -r bcc748594b61 util/SMALL_solve.m --- a/util/SMALL_solve.m Fri Mar 26 11:33:56 2010 +0000 +++ b/util/SMALL_solve.m Thu Apr 01 10:58:54 2010 +0000 @@ -66,7 +66,7 @@ % geting around out of memory problem when converting big matrix from % sparse to full... -if (Problem.sparse==1) +if isfield(Problem, 'sparse')&&(Problem.sparse==1) solver.solution = y; else solver.solution = full(y);