Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@glemaitre
Copy link
Member

Fixes issues found when submitting #25065

cartesian was using the dtype of the first array to decide the dtype of the output array.
Now, we select the most permissive dtype from the passed input arrays.

I don't think that it was the original plan to support mixed dtype at first.

@glemaitre glemaitre added the To backport PR merged in master that need a backport to a release branch defined based on the milestone. label Nov 29, 2022
@glemaitre glemaitre added this to the 1.2 milestone Nov 29, 2022
Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

Thank you for the fix!

Copy link
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @glemaitre

Copy link
Member

@lorentzenchr lorentzenchr left a comment

Choose a reason for hiding this comment

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

LGTM. A few nitpicks.

Co-authored-by: Christian Lorentzen <[email protected]>
Copy link
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

LGTM as well assuming CI is green.

@lorentzenchr
Copy link
Member

Auto merge would have been nice πŸ˜‰

@lesteve
Copy link
Member

lesteve commented Nov 29, 2022

Auto merge would have been nice wink

I refrained myself very hard from saying this. Now that you have said it, I am not going to disagree πŸ˜‰

@jeremiedbb jeremiedbb merged commit 86080bb into scikit-learn:main Nov 29, 2022
@jeremiedbb
Copy link
Member

dw I'm the auto-merge bot πŸ˜„

jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:inspection module:utils To backport PR merged in master that need a backport to a release branch defined based on the milestone.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants