This formula yields  when there's no assortative mixing, since  in that case, and  when the network is perfectly assortative.
This formula produces  when there's no assortative intermixing, because  remains constant in that situation, and  applies to a perfectly assortative system.