Mercurial > hg > smallbox
diff util/SMALL_solve.m @ 216:a986ee86651e luisf_dev
Calls SMALLboxInit in the beginning of both solve and learn, in order not to lose the SMALL_path variable.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 22 Mar 2012 11:41:04 +0000 |
parents | f3b6ddd2f04f |
children | fd0b5d36f6ad 198d4d9cee74 |
line wrap: on
line diff
--- a/util/SMALL_solve.m Wed Mar 21 18:28:43 2012 +0000 +++ b/util/SMALL_solve.m Thu Mar 22 11:41:04 2012 +0000 @@ -18,11 +18,7 @@ % %% -global SMALL_path - -if (isempty(SMALL_path)) - error('SMALL_solve:varChk', '\nSMALL_path variable is not set... Please run SMALLboxInit and try again.\n\nExiting now...\n'); -end +SMALLboxInit if isa(Problem.A,'float') A = Problem.A;