Singularities of the secular equation in a Benard magnetic problem