Dependence of the probability of close collisions of high-energy charged particles in a bent crystal on the orientation of the crystal