Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-020-0664-0, published online 20 July 2020.

In the version of this article initially published online, the last sentence of the Author Contributions should read, “J.P.S.P., C.C.G. and F.J.Q. designed and supervised the study and edited the manuscript.” The error has been corrected in the print, PDF and HTML versions of this article.