Fix relative error check with adaptive parameters (resolved bug 2784)
Merge pull request #55 from dpvc/bugfix/2.8-adaptive-params

Bugfix/2.8 adaptive params