Commit 734ea4dd authored by Martin Reinecke's avatar Martin Reinecke
Browse files

tweak W calculation

parent 6e1acd1e
......@@ -247,11 +247,7 @@ a_i_c peanoindex(const a_d_c &uv_, int nu, int nv)
}
int get_w(double epsilon)
{
int w=int(-log10(epsilon)+2.9999);
if (epsilon<1e-11) ++w;
return w;
}
{ return int(-log10(epsilon)+2.9999); }
class Helper
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment