Skip to content

Feature/barriers - #12

Merged
jsidhu06 merged 10 commits into
mainfrom
feature/barriers
May 13, 2026
Merged

Feature/barriers#12
jsidhu06 merged 10 commits into
mainfrom
feature/barriers

Conversation

@jsidhu06

Copy link
Copy Markdown
Owner

Refactor DiscountCurve.flat()
Update and trim docstrings/comments
Update notebooks
Update README

jsidhu06 added 10 commits May 12, 2026 21:12
…years)

- Steps was a no-op (log-linear interpolation on a flat log-DF is exact between any two endpoints)
- end_time; now defaults to 100y so DiscountCurve.flat(0.05) just works without users needing to anticipate the longest query horizon.
- Sweep all 5 internal callers + drops the now-vacuous steps=0 and steps-array-size tests.
@codecov

codecov Bot commented May 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@jsidhu06
jsidhu06 merged commit b3867c8 into main May 13, 2026
15 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.

1 participant