Skip to content

Commit bbdc4e0

Browse files
matthiasrichterktf
authored andcommitted
Forwarding all options default values to device
Probably we would need a way to specify no default value in the config spec
1 parent e17970f commit bbdc4e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Framework/Core/src/DeviceSpecHelpers.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ DeviceSpecHelpers::prepareArguments(int argc,
561561
// find the option belonging to key, add if the option has been parsed
562562
// and is not defaulted
563563
const auto * description = odesc.find_nothrow(varit.first, false);
564-
if (description && varmap.count(varit.first) && !varit.second.defaulted()) {
564+
if (description && varmap.count(varit.first)) {
565565
tmpArgs.emplace_back("--");
566566
tmpArgs.back() += varit.first;
567567
// check the semantics of the value

0 commit comments

Comments
 (0)