Correction to: Nature https://doi.org/10.1038/s41586-023-05813-2 Published online 22 March 2023

In the version of this article initially published, there was a typographical error in the seventh sentence of the Methods “Surgeries” subsection, where in the text now reading “One week after injection, a 0.5-mm-diameter gradient refractive index (GRIN) relay lens (Go!Foton) was implanted above the ADN (AP, –1.05; ML, 0.8; DV, −3),” the AP coordinate “–1.05” originally read “1.8.” The error has been corrected in the HTML and PDF versions of the article.