We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7aec486 commit 994e7bfCopy full SHA for 994e7bf
python/src/py_nvbench.cpp
@@ -710,7 +710,7 @@ Returns True if configuration has a device
710
711
// method State.has_printers
712
auto method_has_printers_impl = [](const nvbench::state &state) -> bool {
713
- return state.get_benchmark().get_printer().has_value();
+ return state.get_benchmark().get_printer() != nullptr;
714
};
715
static constexpr const char *method_has_printers_doc = R"XXXX(
716
Returns True if configuration has a printer"
0 commit comments