Deficits in cognitive flexibility are thought to underpin the core symptom of repetitive and restricted patterns of behaviour in autism spectrum disorder (ASD). Studies investigating this...