increase default value of RELTOL to 1e-12

Issue #1084 closed
Roland Haas created an issue

right now the defaults for ABSTOL and RELTOL (see lib/sbin/RunTestUtils.pl line 587) are

  $runconfig{"ABSTOL"} = 1e-12;
  $runconfig{"RELTOL"} = 0;

in particular RELTOL is set to zero. This means that for values of order 1000 or so ABSTOL requests more significant figures than a double provides.

Instead it would seem to be more sensible to request RELTOL = 1e-12 as well which will leave the accuracy unchanged for values of order unity but make the test system less prone to false alarms for values that are larger (eg sum reductions, values close to the puncture)

Keyword: test
Keyword: system

Comments (5)

  1. Log in to comment