alchemyst / Skogestad-Python

Python code for "Multivariable Feedback Control"
111 stars 88 forks source link

Replace type(x) == y with isinstance(x, y) #339

Closed alchemyst closed 4 years ago

alchemyst commented 5 years ago

It is more robust to use isinstance(variable, typetocheck) than type(variable) == typetocheck.