fun/max returns the max of the originally computed max and the existing function values (which can sometimes differ due to rounding error.
fun/max returns the max of the originally computed max and the existing function values (which can sometimes differ due to rounding error.

nickhale/chebfunV4,chebfun/chebfun_v4