Skip to content

ENH: migrate wright to xsf - #199

Merged
dschmitz89 merged 3 commits into
scipy:mainfrom
j-bowhay:wright
Jun 21, 2026
Merged

ENH: migrate wright to xsf#199
dschmitz89 merged 3 commits into
scipy:mainfrom
j-bowhay:wright

Conversation

@j-bowhay

Copy link
Copy Markdown
Member

Reference issue

Towards #170

What does this implement/fix?

Migrates wright.c to xsf.

Additional information

AI Generation Disclosure

I used copilot to convert the tests from Python.

@github-actions github-actions Bot added the Enhancement New feature or request label Jun 19, 2026
Comment thread include/xsf/wright.h
Comment on lines +355 to +356
if (cond != NULL) {
*cond = z / (1.0 + *w);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this condition number ever used anywhere?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No it isn't. I wasn't sure what the procedure for migrating stuff is, i.e. I have made as few modifications as possible

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Alright, let's leave it for a follow up then. First priority is to get this function into xsf in its current shape.

Comment thread include/xsf/wright.h Outdated
Comment thread include/xsf/wright.h Outdated
Co-authored-by: Daniel Schmitz <40656107+dschmitz89@users.noreply.github.com>
@dschmitz89
dschmitz89 merged commit f47e71f into scipy:main Jun 21, 2026
8 checks passed
@github-actions github-actions Bot added the needs-release-note-decision A maintainer should decide if this PR requires a release note. label Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request needs-release-note-decision A maintainer should decide if this PR requires a release note.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants