Different ways of treating the pairing interaction in the particle-rotor model are discussed and compared in a model which can be solved exactly. Special attention is paid to the interaction between the yrast and yrare bands as function of the shell filling.