The `enumValueToString(StatisticsStatus)` had the wrong order of
strings. But in fact most of these statuses were not used anyway, so we
can just remove the corresponding enum values altogether.
static const char* enumValueToString(StatisticsStatus enumValue)
{
constexpr gmx::EnumerationArray<StatisticsStatus, const char*> statisticsStatusNames = {
- "All well in STATS land", "No points", "Not enough memory",
- "Invalid histogram input", "Unknown error", "Not implemented yet"
+ "All well in STATS land", "No points"
};
return statisticsStatusNames[enumValue];
}
{
Ok,
NoPoints,
- NoMemory,
- Error,
- InvalidInput,
- NotImplemented,
Count
};