Customizing cvx_precision

Hi! In order to speed-up testing I’ve been trying to change the precision required for my results. My problem is that when I try calling cvx_precision with a length-3 vector the following message gets printed:

??? Undefined function or variable "ns".
Error in ==> cvx_precision at 113
        ndx = find(cellfun(@(x)all(x==ns),prefvals));

I’m thinking that adding

ns = [ min(flag), median(flag), max(flag) ]; 

at line 112 can solve the problem, but I don not trust my skills enough to be sure.

The cvx version I am using is: build 1005, 2013-08-21