Fix flux point error computation