bug fix in PHClab for negative real coefficients