Skip to content

Conversation

@Ceyron
Copy link
Owner

@Ceyron Ceyron commented Oct 21, 2025

Update return type annotations for spectral derivative function.

Update return type annotations for spectral derivative function.
@Ceyron Ceyron requested a review from Copilot October 28, 2025 08:04
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 corrects the return type annotations for the derivative function in exponax/_spectral.py. The function's return type was previously documented as returning arrays with shape (N//2)+1 in the last dimension, but this has been updated to N to accurately reflect the actual output shape.

Key Changes:

  • Updated return type annotation from (N//2)+1 to N in the function signature
  • Updated corresponding documentation to match the corrected return type

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

@Ceyron Ceyron merged commit d2fb694 into main Oct 28, 2025
7 of 10 checks passed
@Ceyron Ceyron deleted the fix-shape-documentation branch October 28, 2025 08:05
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