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 1d085ca commit 1ea9908
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Differentiator/ReverseModeVisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -981,8 +981,8 @@ Expr* getArraySizeExpr(const ArrayType* AT, ASTContext& context,
beginBlock(direction::reverse);

LoopCounter loopCounter(*this);
const auto* RangeDecl = FRS->getRangeStmt();
const auto* BeginDecl = FRS->getBeginStmt();
const Stmt* RangeDecl = FRS->getRangeStmt();
const Stmt* BeginDecl = FRS->getBeginStmt();
StmtDiff VisitRange = Visit(RangeDecl);
StmtDiff VisitBegin = Visit(BeginDecl);
Expr* BeginExpr = cast<BinaryOperator>(VisitBegin.getStmt())->getLHS();
Expand Down

0 comments on commit 1ea9908

Please sign in to comment.