A note on relative isoclinism classes of compact groups