TECA
The Toolkit for Extreme Climate Analysis
teca_coordinate_util::equal_error Struct Reference

#include <teca_coordinate_util.h>

Public Types

enum  {
  no_error = 0, invalid_value = 1, length_missmatch = 2, type_missmatch = 3,
  value_missmatch = 4, unsupported_type = 5
}
 

Detailed Description

Error codes returned by bool equal(const const_p_teca_variant_array &array1, const const_p_teca_variant_array &array2, double absTol, double relTol, int errorNo, std::string &errorStr);

Code Meaning
no_error no error
length_missmatch length missmatch
type_missmatch type missmatch
invalid_value invalid value detected (NaN, inf)
value_missmatch a value failed to compare within the tolerance

The documentation for this struct was generated from the following file: