ControlSystems.jl icon indicating copy to clipboard operation
ControlSystems.jl copied to clipboard

Type instability _bounds_and_features

Open mfalt opened this issue 7 years ago • 1 comments

We have some horribly type unstable code in _bounds_and_features

mfalt avatar Dec 14 '18 13:12 mfalt

I think the biggest problem is that zpkdata is also type unstable. I understand that it is because it can be Real or Complex. However, wouldn't it be better if everything is always treated as Complex but print to the user as Real when the poles and zeros are real? I think this can help to improve the performance of some computations.

ronisbr avatar Dec 29 '18 21:12 ronisbr