The vibrational deactivation of CO(v=1) by inelastic collisions with H2 and D2