Fix floating point error when no analog channels are defined.