Skip to content

Conversation

@alexfikl
Copy link
Collaborator

@alexfikl alexfikl commented Nov 6, 2025

This adds a little test to see which of the IntG wrappers actually work componentwise. It does seem like Spp indeed doesn't vectorize at all, while S vectorizes nicely.


if name not in {"Spp"}:
result = getattr(sym, name)(kernel, density, qbx_forced_limit=-1)
assert isinstance(result, np.ndarray)
Copy link
Collaborator Author

@alexfikl alexfikl Nov 6, 2025

Choose a reason for hiding this comment

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

Actually check that result == vectorize(op, density).

@alexfikl alexfikl marked this pull request as draft November 6, 2025 07:44
@alexfikl alexfikl mentioned this pull request Nov 6, 2025
@alexfikl alexfikl closed this Nov 12, 2025
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.

1 participant