To be fair to the author, this lady is a Romanian and Romanian social norms are quite far from British ones. I don't really doubt that she heard some unflattering remarks from her peers, though no one probably actively hindered her from studying maths.
I studied maths in Czechia in the late 1990s and girls studying maths were still considered somewhat abnormal, especially by people who weren't able to do the same :(