-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TaylorModel::value() after reconditioning not working correctly #51
Comments
Original comment by Pieter Collins (Bitbucket: pietercollins, GitHub: pietercollins) Try explicitly sorting the coefficients after the reconditioning. |
Original comment by Pieter Collins (Bitbucket: pietercollins, GitHub: pietercollins) Taylor model (in the main repositiory) uses ReverseLexicographicIndexLess to sort and relies on writers of low-level code to maintain the sorted order. The new terms (I believe) should go at the beginning. |
Original comment by Pieter Collins (Bitbucket: pietercollins, GitHub: pietercollins) Try a simple sort() first. |
Originally reported by Luca Geretti (Bitbucket: lgeretti, GitHub: lgeretti)
Thee reconditioning routine makes the value() method return 0.
For example, on ariadne, the code
returns the following original and reconditioned models:
which are clearly correct.
Doing the same on the stable repository using the code
Instead returns the following:
which is still correct, but the x3 term is at the beginning. This may be a hint as to the source of the problem.
For practical purposes I attach the implementation of the recondition method for TaylorModel, in the two repositories. They appear the same to me.
The text was updated successfully, but these errors were encountered: