For example, both anorexic and autistic patients have a tendency to behave obsessively and suffer from rigid ways of thinking. Tic disorders, which commonly affect people with autism, are found in 27% of people with severe anorexia. And in both conditions, patients have difficulty with "set-shifting," or changing course mentally.