MCPcopy Create free account
hub / github.com/SZAILAB/MaterialDFT-Demo / vector_is_finite

Function vector_is_finite

cpp_core/src/mixing.cpp:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76bool vector_is_finite(const std::vector<double>& values) {
77 return std::all_of(values.begin(), values.end(), [](double value) {
78 return std::isfinite(value);
79 });
80}
81
82void validate_metric_weights(
83 const std::vector<double>& metric_weights,

Callers 1

history_mix_stepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected