Oscar Gustafsson

Results 474 comments of Oscar Gustafsson

> A more general method will be needed for simplifying inequalities at some point. Indeed. I see this primarily as "bounds tightening", which can be beneficial for a more general...

Also note that SymPy does use overlapping cases, evaluated from top to bottom (note that the last condition is typically True, although printed "Otherwise").

Not sure where this happens, but as I have introduced the automatic rewrites, I feel a bit guilty. I hope to have some time to fix it this week and...

This turned out to be more tricky than expected... In #23666 I added two things to remedy this: 1. The ability to set a list of functions to not automatically...

My impression was that `helpers` is used to extract common subroutines rather than inlining them. (At least based on that piece of code.) But I realize that it wouldn't really...

> What does it even mean to say `helpers=('helper', a - b + c, (a, b, c))`? As I understand it, it will create a subroutine called `helper` which computes...

Probably a quite good way to solve it is to loop over the possible axis rather than have everything hard coded like it is now. Also, changing the limits to...

This may be a good first issue, but requires quite a bit of understanding of how Python works with naming etc to change it into loops and some understanding of...

It seems like the added test also exercises the update-branch. Edit: no, it is not.

This example fails without `_update_path`, so I will try to extract the relevant parts (probably it is enough to use units, although I do not really understand what changes the...