To compensate for undesirable thermooptical effects in optical pumping of solid-state laser rods, regions of the lateral surface are heated in such a way that reverse thermal gradients are created at these locations. This is achieved by providing said regions with a radiation-absorbing layer which is heated by pump radiation and laser radiation.