evade_floating_point_errors: Function to evade floating point errors.
Description
Sets values that should be zero but are >0 (e.g. 1e-13) on zero.
Usage
evade_floating_point_errors(x, LIMIT = 1e-13)
Arguments
- x
numeric input
- LIMIT
limit under which value is set to 0