Skip to contents

Goes through the rate arrays that can be frozen, see frozen_rate_params(), and raises a signal_frozen() condition for each frozen array that one of the changed species parameters feeds. This is what turns "the model no longer follows the species parameters" into a warning the user sees at the moment they make the change. It is one of the diagnostics that only given_species_params<-() gives, see there.

Usage

signal_frozen_changes(params, changed)

Arguments

params

A MizerParams object, holding the rate arrays as they are, that is, before the change is applied.

changed

A character vector with the names of the species parameters that the user changed.

Value

NULL invisibly. Called for its side effect of signalling.