mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-25 05:40:39 -05:00
Fixed float/double algo_perf support
This commit is contained in:
@@ -96,8 +96,8 @@ void MoBenchmark::read(const rapidjson::Value &value)
|
||||
LOG_INFO("%s " BRIGHT_BLACK_BG(MAGENTA_BOLD_S " Ignoring wrong name for algo-perf[%s] "), Tags::benchmark(), member.name.GetString());
|
||||
continue;
|
||||
}
|
||||
if (member.value.IsFloat()) {
|
||||
algo_perf[algo.id()] = member.value.GetFloat();
|
||||
if (member.value.IsDouble()) {
|
||||
algo_perf[algo.id()] = member.value.GetDouble();
|
||||
m_isNewBenchRun = false;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user