def check_symmetric_gamma_for_negative_num(gamma, shape_reduced):
    """
    If cos < 0 it will be redefined as 0 are inplaced.

    :param gamma: Dict[str, numpy.array];
    :param shape_reduced: Tuple[int];
    """
    gamma['primary'][:, :shape_reduced[1]][gamma['primary'][:, :
        shape_reduced[1]] < 0] = 0.0
    gamma['primary'][:shape_reduced[0], shape_reduced[1]:][gamma['primary']
        [:shape_reduced[0], shape_reduced[1]:] < 0] = 0.0
    gamma['secondary'][:shape_reduced[0], :][gamma['secondary'][:
        shape_reduced[0], :] < 0] = 0.0
    gamma['secondary'][shape_reduced[0]:, :shape_reduced[1]][gamma[
        'secondary'][shape_reduced[0]:, :shape_reduced[1]] < 0] = 0.0
