Commit 1c78f768 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

fixing bug in xacc.error python api

Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <>
parent eedb08a7
......@@ -440,7 +440,7 @@ PYBIND11_MODULE(_pyxacc, m) {
xacc::setOption(s, boost::lexical_cast<std::string>(p));
m.def("info", [](const std::string s) { xacc::info(s); }, "");
m.def("error", &xacc::error, "");
m.def("error", [](const std::string s) { xacc::error(s); }, "");
m.def("setOption", &xacc::setOption, "Set an XACC framework option.");
[](std::map<std::string, std::string> options) {
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