FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Truncated output when evaluating a model with n_outputs=1 · Issue #12373 · astropy/astropy · GitHub

Truncated output when evaluating a model with n_outputs=1 #12373

Description

Description

This is a regression in 5.0x. When evaluating a model with one output and specifying with_bounding_box=True
the output is truncated

Expected behavior

from astropy.modeling.models import *

x = [1,2]
y = [3,4]

model = Mapping((1,))
model(x, y, with_bounding_box = True)
[3, 4]

Actual behavior

model(x, y, with_bounding_box = True)
3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL