A slew detector 107 is connected to the switching devices M10 and M11 to detect when the output stage of the op-amp 104 is slewing by detecting when I10>k???I20, where I10 and I20 are the currents through the switching devices M10 and M11, respectively, and k is a constant.