Mercurial > repos > public > sbplib
diff +noname/testCfl.m @ 225:de8bcef865b0 feature/beams
noname.testCfl: Added if the run was stable or not to the output.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 28 Jun 2016 16:50:32 +0200 |
parents | 5046ff7d13b8 |
children | 2dd9cfad2cac |
line wrap: on
line diff
--- a/+noname/testCfl.m Tue Jun 28 16:33:11 2016 +0200 +++ b/+noname/testCfl.m Tue Jun 28 16:50:32 2016 +0200 @@ -43,8 +43,14 @@ alpha0(2) = alpha; end + if ok + stability = 'STABLE'; + else + stability = 'UNSTABLE'; + end + if ~silentFlag - fprintf('a = %.3e, n_step=%d max = %.2e\n', alpha, n_step, maxVal); + fprintf('a = %.3e, n_step=%d %8s max = %.2e\n', alpha, n_step, stability, maxVal); end end