Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 3, 2025

Addresses review feedback to clean up dead code and uninformative comments in exchange_hankel.py.

Changes

  • Removed commented-out return statements in _N_order and _parity_factor functions
  • Removed commented-out phase_internal_table line
  • Removed placeholder comment # CHANGED HERE NEGATIVE B FIELD
  • Fixed inline comment to match actual formula: (i)^(d1+d2) (was incorrectly (i)^(d1-d2))

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…el.py

Co-authored-by: skilledwolf <18141588+skilledwolf@users.noreply.github.com>
Copilot AI changed the title [WIP] WIP address comments on sign/indexing fixes and performance improvements Remove commented-out code and placeholder comments from exchange_hankel.py Dec 3, 2025
Copilot AI requested a review from skilledwolf December 3, 2025 19:25
@skilledwolf skilledwolf marked this pull request as ready for review December 3, 2025 19:35
Copilot AI review requested due to automatic review settings December 3, 2025 19:35
@skilledwolf skilledwolf merged commit b7d69a1 into Fixes_B_field Dec 3, 2025
2 checks passed
@skilledwolf skilledwolf deleted the copilot/sub-pr-2 branch December 3, 2025 19:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs code cleanup in exchange_hankel.py by removing commented-out code and placeholder comments that were left over from development or debugging. The changes improve code readability and maintainability without affecting functionality.

Key Changes:

  • Removed commented-out alternative implementations in helper functions
  • Corrected an inline comment to accurately describe the mathematical formula (i)^(d1+d2)
  • Removed a placeholder comment about magnetic field changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants