Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in eps_model for integer frequency arrays #1230

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

caseyflex
Copy link
Contributor

@caseyflex caseyflex commented Nov 1, 2023

Previously, the following

import tidy3d as td
td.Medium(permittivity=2).eps_model(np.array([1,2]))

gave an error:

OverflowError: Python int too large to convert to C long

@tylerflex tylerflex merged commit 30f3693 into pre/2.5 Nov 3, 2023
14 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.

None yet

3 participants