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 <[email protected]>
  • Loading branch information
ovdiiuv and vgvassilev authored Jul 26, 2024
1 parent 1ea9908 commit f6d2bf9
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 @@ -1030,7 +1030,7 @@ Expr* getArraySizeExpr(const ArrayType* AT, ASTContext& context,
m_Sema.getASTContext(), bodyClone,
BuildDeclStmt(const_cast<VarDecl*>(LoopVD)));
StmtDiff BodyDiff = DifferentiateLoopBody(
body, loopCounter, /*condVarDiff*/ nullptr, d_DecBegin,
body, loopCounter, /*condVarDiff=*/nullptr, d_DecBegin,
/*isForLoop=*/true);

Expr* Inc = BuildOp(BO_Comma, IncBegin, d_IncBegin);
Expand Down

0 comments on commit f6d2bf9

Please sign in to comment.