Corals and their algal symbionts can adapt to climate change.