changeset 18:bcc748594b61

(none)
author idamnjanovic
date Thu, 01 Apr 2010 10:58:54 +0000
parents ec86452113ed
children 79e1d62f0115
files util/SMALL_solve.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);