Skip to content

ppf bug#161

Merged
alexanderthclark merged 3 commits into
mainfrom
ppf_bug_patch
May 3, 2026
Merged

ppf bug#161
alexanderthclark merged 3 commits into
mainfrom
ppf_bug_patch

Conversation

@alexanderthclark
Copy link
Copy Markdown
Owner

@alexanderthclark alexanderthclark commented Nov 10, 2025

Summary

  • Fix PPF addition when multiple component PPFs have identical slopes.
  • Sort PPF components by slope using a key function instead of sorting (slope, curve) tuples, avoiding comparisons between curve objects when slopes tie.
  • Add regression coverage for adding two and three same-slope PPFs.
  • Refresh the branch against current main after PR Add Bach or Stravinsky helper #85 merged.
  • Leave the package version unchanged; version bumps should be handled separately for releases.

Testing

  • pytest -q tests/test_curves.py -k "PPF or BaseQuadratic" -> 10 passed

@alexanderthclark alexanderthclark merged commit cdfab7a into main May 3, 2026
3 of 6 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