Skip to content

Commit

Permalink
Update lib/Differentiator/ReverseModeVisitor.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Vassil Vassilev <v.g.vassilev@gmail.com>
  • Loading branch information
ovdiiuv and vgvassilev authored Jul 26, 2024
1 parent 6af3d54 commit eec4b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Differentiator/ReverseModeVisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ Expr* getArraySizeExpr(const ArrayType* AT, ASTContext& context,

Expr* Inc = BuildOp(BO_Comma, IncBegin, d_IncBegin);
Stmt* Forward = new (m_Context)
ForStmt(m_Context, /*Init*/ nullptr, ForwardCond, /*CondVar*/ nullptr,
ForStmt(m_Context, /*Init=*/nullptr, ForwardCond, /*CondVar=*/nullptr,
Inc, BodyDiff.getStmt(), FRS->getForLoc(), FRS->getBeginLoc(),
FRS->getEndLoc());
Expr* CounterCondition =
Expand Down

0 comments on commit eec4b22

Please sign in to comment.