Closed kbevers closed 5 years ago
Thank you @kbevers. To get rid of the numerical instabilities I have added functions to round the output within the docstrings with a given tolerance. Thus, the tests should work now, even if a slightly different machine precision is used.
While running the test-suite I found that three tests failed. The test results are correct but the test fail since the output in the unittest is not reproduced 100% as seen in the output below. We are talking about minor numerical instabilities here. Usually this sort of problem is dealt with by specifying a tolerance for which the requested value is to lie within. Here it can be done by only printing a set amount of decimals for the test output which should truncate the floating point errors seen below.