comparison util/SMALL_solve.m @ 18:bcc748594b61

(none)
author idamnjanovic
date Thu, 01 Apr 2010 10:58:54 +0000
parents 33850553b702
children fc395272d53e
comparison
equal deleted inserted replaced
17:ec86452113ed 18:bcc748594b61
64 fprintf('Solver %s finished task in %2f seconds. \n', solver.name, solver.time); 64 fprintf('Solver %s finished task in %2f seconds. \n', solver.name, solver.time);
65 65
66 % geting around out of memory problem when converting big matrix from 66 % geting around out of memory problem when converting big matrix from
67 % sparse to full... 67 % sparse to full...
68 68
69 if (Problem.sparse==1) 69 if isfield(Problem, 'sparse')&&(Problem.sparse==1)
70 solver.solution = y; 70 solver.solution = y;
71 else 71 else
72 solver.solution = full(y); 72 solver.solution = full(y);
73 end 73 end
74 74