def _set_initial_inf(params, name: str, index: int, value: float):
    """Adjust the Parameters.initial_inf parameter"""
    if index is not None:
        raise IndexError('You cannot index the initial_inf parameter')
    params.initial_inf = value
