Skip to main content

validate_input

Function validate_input 

Source
pub fn validate_input(
    timestamps: &[i64],
    values: &[f64],
) -> Result<(), ForecastError>
Expand description

Validate that all input values are finite (no NaN or Inf) and timestamps match values in length.