Skip to content
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

Benchmark failure: Recompute fixingDays after add/subtract 10 years #1925

Merged

Conversation

PaulXiCao
Copy link
Contributor

Closes #1920 .

The test used a hard-coded fixingDays=2 but the issue date is recomputed by adding and then subtracting 10 years. This lead to an off-by-one error for leap years.

@coveralls
Copy link

coveralls commented Mar 3, 2024

Coverage Status

coverage: 72.466% (-0.008%) from 72.474%
when pulling 368c13b on PaulXiCao:iss1920_convertibleBondBenchmark
into 014d08a on lballabio:master.

@lballabio lballabio added this to the Release 1.34 milestone Mar 5, 2024
@lballabio lballabio merged commit 028c76e into lballabio:master Mar 5, 2024
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

convertible bond unit test is failing on system date 2024-02-27
3 participants