Skip to content

Conversation

@kchammond
Copy link
Contributor

This PR attempts to resolve issue #553 in which one of the tests failed on a wireframe example due to an apparent indexing error. I wasn't able to reproduce the error on my machine, but I believe this arises from an issue in querying an array with an index that was converted from a floating point value. The code has been modified to avoid the float-integer conversion that gave rise to the error.

The array meant to store indices in the `make_plot_2d` method of
the ToroidalWireframe class is now initialized explicitly as an
integer array. The aim is to prevent a bug from occurring in
some tests with one of these arrays that appears to be due to a
floating point error.
@kchammond kchammond requested review from akaptano and mbkumar October 24, 2025 17:51
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