MCPcopy Create free account
hub / github.com/chrxh/alien / sumColorVector

Function sumColorVector

source/EngineInterface/RawStatisticsData.h:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56};
57
58inline double sumColorVector(ColorVector<double> const& v)
59{
60 auto result = 0.0;
61 for (int i = 0; i < MAX_COLORS; ++i) {
62 result += v[i];
63 }
64 return result;
65};

Callers 2

processRequestMethod · 0.85
updateSavepointMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected