Skip to content

fix nan issue in coil_design_application.py - #1418

Merged
larsoner merged 2 commits into
enthought:mainfrom
fred4ets:coil-design-app
Aug 19, 2026
Merged

fix nan issue in coil_design_application.py#1418
larsoner merged 2 commits into
enthought:mainfrom
fred4ets:coil-design-app

Conversation

@fred4ets

Copy link
Copy Markdown
Contributor

np.NAN was deprecated in NumPy 2.0 and removed in NumPy 2.3+.

Should be replaced with np.nan (the canonical spelling) in the four assignments
that mask out-of-range field values (lines 188-191)

@larsoner larsoner left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

@larsoner
larsoner enabled auto-merge (squash) August 19, 2026 13:03
@larsoner
larsoner merged commit 107a76c into enthought:main Aug 19, 2026
45 of 46 checks passed
@fred4ets
fred4ets deleted the coil-design-app branch August 20, 2026 14:58
@prabhuramachandran

prabhuramachandran commented Aug 23, 2026

Copy link
Copy Markdown
Member

@fred4ets -- nice to see you virtually after all these years!

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.

3 participants