-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Allow constraints in FittedBondDiscountCurve::FittingMethod (#1954) #2059
Conversation
Thanks! I was just about to ask you to turn your changes into a PR but you were faster :) A couple of things I would modify:
Are you comfortable making the changes? Otherwise give me a shout and I will add them to your PR. |
Thanks Luigi. It'll be really helpful if you can make those changes. I'm not sure if I understand what needs to be done. C++ is not native to me, I'm not comfortable in getting all the const & std::move etc right. I do agree with your second point. In fact, it was the desire to have constraints on Nelson Siegel that drove this feature request in the first place. Only reason why I didn't add constraint argument to the existing fitting methods was to keep this PR small. |
Arh, also a minor fix to the test message required. If it's ok it might be good for you to help fix that too while you are at it, so that I don't pollute the commit log with too many commits.
|
Congratulations on your first merged pull request! |
fulfills feature request in #1954