Continuity of h-convex functions