Skip to content

Commit e73b5b7

Browse files
🎨 pre-commit fixes
1 parent 4283c11 commit e73b5b7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

include/common/parsing/CodePreprocessing.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ parseClassicConditionExpression(const std::string& condition);
327327
* @param code The code to parse.
328328
* @return The parsed condition, or std::nullopt if it cannot be parsed.
329329
*/
330-
std::optional<ClassicCondition> parseClassicConditionFromCode(
331-
const std::string& code);
330+
std::optional<ClassicCondition>
331+
parseClassicConditionFromCode(const std::string& code);
332332

333333
/**
334334
* @brief Check if a given line is a variable declaration.

src/backend/dd/DDSimDebug.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ std::optional<bool> evaluateClassicConditionFromCode(DDSimulationState* ddsim,
101101
registerValue = value ? 1ULL : 0ULL;
102102
} else {
103103
const auto regIt = std::ranges::find_if(
104-
ddsim->classicalRegisters,
105-
[&parsed](const auto& reg) {
104+
ddsim->classicalRegisters, [&parsed](const auto& reg) {
106105
return reg.name == parsed->registerName;
107106
});
108107
if (regIt == ddsim->classicalRegisters.end()) {

0 commit comments

Comments
 (0)