LineTaylorLocalExpansion: Reinstate the old derivative taking behavior
when using sympy, so code generation doesn't blow up. Also add a test the uses LineTaylorLocalExpansion.
parent
4e9d1eb1
Loading
Loading
Pipeline
#6749
failed
with stage
in
22 minutes and 35 seconds
Loading
-
The test isn't as good as I had hoped:
- It's really slow under sympy
- It still passes under the old version of the code, unless (I expect) the order gets really high
So what is the right way to test this? Should I just test directly that the LineTaylorLocalExpansion derivatives don't blow up? @inducer, thoughts?
-
I added a regression test in d3f99ed0. I think there's no reason not to keep this test though.
Please register or sign in to comment