Skip to content

Commit

Permalink
🐛 Fix exception naming
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelwa committed Nov 22, 2023
1 parent 2fc5d16 commit 708f2e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void has_high_degree_fanin_nodes(pybind11::module& m)
{
using namespace pybind11::literals;

m.def("has_high_degree_fain_nodes", &fiction::has_high_degree_fanin_nodes<Ntk>, "ntk"_a, "threshold"_a = 2,
m.def("has_high_degree_fanin_nodes", &fiction::has_high_degree_fanin_nodes<Ntk>, "ntk"_a, "threshold"_a = 2,
DOC(fiction_has_high_degree_fanin_nodes));
}

Expand Down
4 changes: 2 additions & 2 deletions docs/io/physical_simulation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ QCA-STACK

.. doxygenclass:: fiction::unsupported_character_exception
:members:
.. doxygenclass:: fiction::unsupported_cell_label_exception
.. doxygenclass:: fiction::undefined_cell_label_exception
:members:
.. doxygenclass:: fiction::unrecognized_cell_definition_exception
:members:
Expand All @@ -64,7 +64,7 @@ QCA-STACK

.. autoclass:: fiction.pyfiction.unsupported_character_exception
:members:
.. autoclass:: fiction.pyfiction.unsupported_cell_label_exception
.. autoclass:: fiction.pyfiction.undefined_cell_label_exception
:members:
.. autoclass:: fiction.pyfiction.unrecognized_cell_definition_exception
:members:
Expand Down
4 changes: 2 additions & 2 deletions include/fiction/io/write_sqd_layout.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class write_sqd_layout_impl

design << fmt::format(
siqad::DEFECT_BLOCK, fmt::format(siqad::LATTICE_COORDINATE, cell.x, cell.y, cell.z),
is_charged_defect(defect) ?
is_charged_defect_type(defect) ?
fmt::format(siqad::COULOMB, defect.charge, defect.epsilon_r, defect.lambda_tf) :
"",
get_defect_type_name(defect.type));
Expand All @@ -313,7 +313,7 @@ class write_sqd_layout_impl

design << fmt::format(
siqad::DEFECT_BLOCK, fmt::format(siqad::LATTICE_COORDINATE, cell.x, cell.y, cell.z),
is_charged_defect(defect) ?
is_charged_defect_type(defect) ?
fmt::format(siqad::COULOMB, defect.charge, defect.epsilon_r, defect.lambda_tf) :
"",
get_defect_type_name(defect.type));
Expand Down

0 comments on commit 708f2e7

Please sign in to comment.