diff options
-rw-r--r-- | common/pybindings.cc | 3 | ||||
-rw-r--r-- | common/timing.cc | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/common/pybindings.cc b/common/pybindings.cc index 8f824f1e..0f5780b5 100644 --- a/common/pybindings.cc +++ b/common/pybindings.cc @@ -88,7 +88,8 @@ PYBIND11_MODULE(MODULE_NAME, m) { py::register_exception_translator([](std::exception_ptr p) { try { - if (p) std::rethrow_exception(p); + if (p) + std::rethrow_exception(p); } catch (const assertion_failure &e) { PyErr_SetString(PyExc_AssertionError, e.what()); } diff --git a/common/timing.cc b/common/timing.cc index 8322df6d..d4d33183 100644 --- a/common/timing.cc +++ b/common/timing.cc @@ -246,7 +246,8 @@ struct Timing // been visited auto it = port_fanin.find(&port.second); if (it == port_fanin.end()) - log_error("Timing counted negative fanin count for port %s.%s (net %s), please report this error.\n", + log_error("Timing counted negative fanin count for port %s.%s (net %s), please report this " + "error.\n", ctx->nameOf(usr.cell), ctx->nameOf(port.first), ctx->nameOf(port.second.net)); if (--it->second == 0) { topological_order.emplace_back(port.second.net); |