Skip to content

Commit

Permalink
Update lib/Differentiator/ReverseModeForwPassVisitor.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
PhrygianGates and github-actions[bot] authored Aug 16, 2023
1 parent ca66753 commit 3eaf7cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Differentiator/ReverseModeForwPassVisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ llvm::SmallVector<clang::QualType, 8>
ReverseModeForwPassVisitor::ComputeParamTypes(const DiffParams& diffParams) {
llvm::SmallVector<clang::QualType, 8> paramTypes;
paramTypes.reserve(m_Function->getNumParams() * 2);
for (auto PVD : m_Function->parameters())
for (auto *PVD : m_Function->parameters())
paramTypes.push_back(PVD->getType());

QualType effectiveReturnType =
Expand Down

0 comments on commit 3eaf7cc

Please sign in to comment.