Skip to contents

Checks if an object contains any infinite (Inf) values.

Usage

assert_infinite(x)

Arguments

x

An object to be checked.

Value

Throws an error, if any, and returns x invisibly otherwise.

Author

N. Frerebeau