hydra-queue-runner: fix compilation warning
instead of converting to double, we can convert to float right away.
This commit is contained in:
parent
b6f44b5cd0
commit
2dad87ad89
@ -164,7 +164,7 @@ void State::parseMachines(const std::string & contents)
|
||||
? string2Int<MaxJobs>(tokens[3]).value()
|
||||
: 1,
|
||||
// `speedFactor`
|
||||
atof(tokens[4].c_str()),
|
||||
std::stof(tokens[4].c_str()),
|
||||
// `supportedFeatures`
|
||||
std::move(supportedFeatures),
|
||||
// `mandatoryFeatures`
|
||||
|
Loading…
x
Reference in New Issue
Block a user