From e6f38e724c03911a20f30d65ee79d6a932e28d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Thu, 19 Oct 2023 09:55:59 -0400 Subject: [PATCH] Cosmetics: remove empty list of parameters for lambda functions --- src/ExprNode.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ExprNode.cc b/src/ExprNode.cc index 517ae6e7..c3e80d94 100644 --- a/src/ExprNode.cc +++ b/src/ExprNode.cc @@ -1106,7 +1106,7 @@ VariableNode::writeOutput(ostream &output, ExprNodeOutputType output_type, return; } - auto juliaTimeDataFrameHelper = [&]() + auto juliaTimeDataFrameHelper = [&] { if (lag != 0) output << "lag("; @@ -9061,7 +9061,7 @@ ExprNode::matchParamTimesTargetMinusVariable(int symb_id) const auto lhs_level = dynamic_cast<const VariableNode *>(bminus->arg2); auto target = dynamic_cast<const VariableNode *>(bminus->arg1); - auto check_target = [&]() + auto check_target = [&] { if (target->get_type() != SymbolType::endogenous && target->get_type() != SymbolType::exogenous) -- GitLab