Skip to content

Conversation

h-vetinari
Copy link
Member

Pulled out test parametrization from #18391, based on #18462, planning to rebase once that's in.

I turned them into proper parametrized fixtures to avoid having to duplicate the list of solvers around all over the place. Should be reviewed per commit, and ideally without showing whitespace-only changes.

CC @ilayn

@h-vetinari h-vetinari force-pushed the clean_isolve_II branch 2 times, most recently from 93c2665 to 193fe4b Compare May 15, 2023 06:29
@ilayn
Copy link
Member

ilayn commented May 15, 2023

The main issue is that we changed the defaults of atol from None to 0., hence when that code hits most of these will still complain about a different warning. That's why all that if solver this do that frenzy

Looks much better but still won't fix the actual problem there.

@h-vetinari
Copy link
Member Author

Looks much better but still won't fix the actual problem there.

I'm not claiming to solve any problem here, it's explicitly meant to be NFC (non-functional change). It's meant to reduce the necessity for test changes in #18391

@h-vetinari
Copy link
Member Author

In the spirit of "if you care strongly, I'll concede", I'm happy to back out 31fd623 if anyone objects. It's based on a single change that I had picked up from #18391 and applied to the whole file.

@ilayn
Copy link
Member

ilayn commented May 15, 2023

This is much better than what I did in the PR anyways because I basically got tired by looking at failing tests for long time. So +1 to merge from me.

@h-vetinari
Copy link
Member Author

h-vetinari commented May 15, 2023

Glad to hear it @ilayn.

@tupui, do you want to review (not required, just an offer)? I'm still still planning to remove self.Poisson1D & 2D from the class, which I overlooked previously, but that's only two lines. I'll do it once I'm back at a computer in about an hour

@h-vetinari
Copy link
Member Author

@tupui, not sure if your 👍 means you want to review or you're happy as is.

@tupui
Copy link
Member

tupui commented May 16, 2023

It means I m happy as is 😃

Copy link
Member

@j-bowhay j-bowhay left a comment

Choose a reason for hiding this comment

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

LGTM too, thanks @h-vetinari

@j-bowhay j-bowhay merged commit 30544c4 into scipy:main May 16, 2023
@j-bowhay j-bowhay added this to the 1.11.0 milestone May 16, 2023
@h-vetinari h-vetinari deleted the clean_isolve_II branch May 16, 2023 07:08
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.

4 participants