Skip to content

Investigate Gaussian2D bounding box shape mismatch in numpy 1.25 or later #14766

Closed

Description

@pllim

This is a follow-up of #14718 and #14705 and the goal is to remove the if and have the test not fail.

# FIXME: https://github.com/astropy/astropy/issues/14705
# ValueError: operands could not be broadcast together with shapes (1100,) (1099,)
if model_class != Gaussian2D:
assert np.all(inside_bbox == outside_bbox)

Activity

  1. WilliamJamieson commented on May 6, 2023

    @WilliamJamieson
    Contributor

    This will be fixed by #14771.

    This was not a bug on our end. The inputs were specifically constructed to be within the bounding box however some upstream bug in numpy was throwing one point out of the box. This bug was corrected upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions