A comparison of finite difference and finite basis set Hartree-Fock calculations for the ground state potential energy curve of CO