comparison util/SMALL_solve.m @ 208:36b02a8d0add luisf_dev

merge
author bmailhe
date Wed, 21 Mar 2012 14:13:31 +0000
parents f3b6ddd2f04f
children a986ee86651e
comparison
equal deleted inserted replaced
207:233e75809e4a 208:36b02a8d0add
17 % COPYING included with this distribution for more information. 17 % COPYING included with this distribution for more information.
18 % 18 %
19 %% 19 %%
20 20
21 global SMALL_path 21 global SMALL_path
22
23 if (isempty(SMALL_path))
24 error('SMALL_solve:varChk', '\nSMALL_path variable is not set... Please run SMALLboxInit and try again.\n\nExiting now...\n');
25 end
22 26
23 if isa(Problem.A,'float') 27 if isa(Problem.A,'float')
24 A = Problem.A; 28 A = Problem.A;
25 SparseLab_A=Problem.A; 29 SparseLab_A=Problem.A;
26 m = size(Problem.A,1); % m is the no. of rows. 30 m = size(Problem.A,1); % m is the no. of rows.