Skip to contents

Gives an error if any of the arrays in the MizerParams object contains non-finite values, with the exception of the maximum intake rate, which is allowed to be infinite.

Usage

check_finite(params)

Arguments

params

A MizerParams object.

Value

TRUE, invisibly.

Details

This check is cheap and is run on every call to validParams(), also when the repair work is skipped, because it catches exactly the kind of damage that the fingerprint in validation_key() does not cover: a bad value written into an array whose shape is unchanged.