Skip to content

Commit

Permalink
🎨 solve missing renaming.
Browse files Browse the repository at this point in the history
  • Loading branch information
Drewniok committed Jan 13, 2025
1 parent 2e15b4a commit 193b9b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Created by marcel on 21.11.23.
//

#ifndef PYFICTION_CAN_POSITIVE_CHARGE_OCCUR_HPP
#define PYFICTION_CAN_POSITIVE_CHARGE_OCCUR_HPP
#ifndef PYFICTION_CAN_POSITIVE_CHARGES_OCCUR_HPP
#define PYFICTION_CAN_POSITIVE_CHARGES_OCCUR_HPP

#include "pyfiction/documentation.hpp"
#include "pyfiction/types.hpp"
Expand Down Expand Up @@ -40,4 +40,4 @@ inline void can_positive_charges_occur(pybind11::module& m)

} // namespace pyfiction

#endif // PYFICTION_CAN_POSITIVE_CHARGE_OCCUR_HPP
#endif // PYFICTION_CAN_POSITIVE_CHARGES_OCCUR_HPP
6 changes: 3 additions & 3 deletions test/algorithms/simulation/sidb/operational_domain_ratio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,17 +123,17 @@ TEST_CASE("SiQAD NAND gate", "[compute-operational-ratio]")
op_domain_params.sweep_dimensions[1].max = 10.0;
op_domain_params.sweep_dimensions[1].step = 0.1;

compute_operational_ratio_params op_ratio_params{op_domain_params};
operational_domain_ratio_params op_ratio_params{op_domain_params};

// pruning and simulation to determine the operational status of the layout
const auto op_domain_ratio_pruning_and_simulation = compute_operational_ratio(
const auto op_domain_ratio_pruning_and_simulation = operational_domain_ratio(
lyt, std::vector<tt>{create_nand_tt()}, parameter_point({5.6, 5.0, -0.28}), op_ratio_params);

// only pruning to determine the operational status of the layout
op_ratio_params.op_domain_params.operational_params.strategy_to_analyze_operational_status =
is_operational_params::operational_analysis_strategy::FILTER_ONLY;

const auto op_domain_ratio_only_pruning = compute_operational_ratio(
const auto op_domain_ratio_only_pruning = operational_domain_ratio(
lyt, std::vector<tt>{create_nand_tt()}, parameter_point({5.6, 5.0, -0.28}), op_ratio_params);

CHECK_THAT(op_domain_ratio_pruning_and_simulation,
Expand Down

0 comments on commit 193b9b0

Please sign in to comment.