Closed fwitte closed 10 months ago
Hello @fwitte! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
src/tespy/tools/helpers.py
:Line 474:80: E501 line too long (90 > 79 characters) Line 505:80: E501 line too long (90 > 79 characters)
tests/test_tools/test_helpers.py
:Line 41:80: E501 line too long (82 > 79 characters) Line 46:80: E501 line too long (84 > 79 characters) Line 51:80: E501 line too long (82 > 79 characters) Line 57:80: E501 line too long (85 > 79 characters)
The convergence critereon for the newon helper algorithms needed to be updated to target values equal to zero. In case the target value is zero, the tolerance mode is set to absolute difference now. On top of that the old newton function was removed and now all parts of the code use the
newton_with_kwargs
function.