Fix comparison for computation.