clangformat
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
be607c10a8
commit
109aa63474
@ -88,7 +88,8 @@ PYBIND11_MODULE(MODULE_NAME, m)
|
|||||||
{
|
{
|
||||||
py::register_exception_translator([](std::exception_ptr p) {
|
py::register_exception_translator([](std::exception_ptr p) {
|
||||||
try {
|
try {
|
||||||
if (p) std::rethrow_exception(p);
|
if (p)
|
||||||
|
std::rethrow_exception(p);
|
||||||
} catch (const assertion_failure &e) {
|
} catch (const assertion_failure &e) {
|
||||||
PyErr_SetString(PyExc_AssertionError, e.what());
|
PyErr_SetString(PyExc_AssertionError, e.what());
|
||||||
}
|
}
|
||||||
|
@ -246,7 +246,8 @@ struct Timing
|
|||||||
// been visited
|
// been visited
|
||||||
auto it = port_fanin.find(&port.second);
|
auto it = port_fanin.find(&port.second);
|
||||||
if (it == port_fanin.end())
|
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));
|
ctx->nameOf(usr.cell), ctx->nameOf(port.first), ctx->nameOf(port.second.net));
|
||||||
if (--it->second == 0) {
|
if (--it->second == 0) {
|
||||||
topological_order.emplace_back(port.second.net);
|
topological_order.emplace_back(port.second.net);
|
||||||
|
Loading…
Reference in New Issue
Block a user