Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update lib/Differentiator/VectorForwardModeVisitor.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>
vgvassilev and github-actions[bot] authored Nov 13, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent c30acaa commit 75894b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Differentiator/VectorForwardModeVisitor.cpp
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ DerivativeAndOverload VectorForwardModeVisitor::DeriveVectorMode() {
assert(m_DiffReq.Mode == DiffMode::vector_forward_mode);

DiffParams args{};
for (auto dParam : m_DiffReq.DVI)
for (const auto& dParam : m_DiffReq.DVI)
args.push_back(dParam.param);

// Generate name for the derivative function.

0 comments on commit 75894b5

Please sign in to comment.