Commit 52ae384d authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

updating to include chain_strength option on default param setter



Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 4d1e6866
Pipeline #32916 passed with stages
in 9 minutes and 52 seconds
......@@ -54,8 +54,8 @@ std::list<std::shared_ptr<DWQMI>> DefaultParameterSetter::setParameters(
}
double chain_strength = 1.0;
if (xacc::optionExists("chain_strength")) {
chain_strength = std::stod(xacc::getOption("chain_strength"));
if (xacc::optionExists("chain-strength")) {
chain_strength = std::stod(xacc::getOption("chain-strength"));
}
for (int i = 0; i < nHardwareVerts; i++) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment