Abstract
The finite-temperature Hartree-Fock-Bogoliubov equations are solved for Sm148 with the pairing-plusquadrupole interaction. Although the static shape is spherical at zero temperature, raising the temperature induces a second-order phase transition to a prolate deformed shape. The onset of deformation is related to the thermal destruction of the pairing gap.