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 43ee781 commit 4dfac85
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 @@ -131,7 +131,7 @@ ReverseModeForwPassVisitor::ComputeParamTypes(const DiffParams& diffParams) {
}

clang::QualType ReverseModeForwPassVisitor::ComputeReturnType() {
auto valAndAdjointTempDecl = LookupTemplateDeclInCladNamespace("ValueAndAdjoint");
auto *valAndAdjointTempDecl = LookupTemplateDeclInCladNamespace("ValueAndAdjoint");
auto RT = m_Function->getReturnType();
auto T = InstantiateTemplate(valAndAdjointTempDecl, {RT, RT});
return T;
Expand Down

0 comments on commit 4dfac85

Please sign in to comment.