Open macd opened 5 years ago
High order zeros are a known problem with the approach to root finding, and so the code is quite brittle (hence why it used to work but doesn't anymore). It's not clear to me how to overcome this, though this particular error looks like it's not filtering out empty intervals correctly.
The abs() fails on a forth order derivative where is succeeds on the third order. This looks like a regression since it did work in the November timeframe (this is on ApproxFun master). Details below.