def value_dist(val):
    if len(val)==3:
        return val[3](*val[:2])
    else:
        if val[0]>0:
            return log_dist(*val)
        else:
            return random.uniform(*val)
dataset/ETHPy150Open Ttl/evolutionary-circuits/evolutionary/chromosomes/common.py/value_dist/original