diff util/SMALL_solve.m @ 18:bcc748594b61

(none)
author idamnjanovic
date Thu, 01 Apr 2010 10:58:54 +0000
parents 33850553b702
children fc395272d53e
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);